hand on machine learning withhand on machine learning with

hand on machine learning with

 generalization error

在测试集中的误差叫做  generalization error (or out-ofsample error)

验证集(P30)

需要验证集的目的:不能在训练100个模型找出最佳的参数。因为你使模型和参数自动适应了。

怎么使用?先用训练集训练带有不同超参数的很多个模型,然后你挑一个在验证集上表现最好的模型,选择这个模型的参数,最后用测试集测试。

hand on machine learning with

hand on machine learning with


交叉验证集

训练集被分成互补的子集,训练好多模型,每个模型用不同的子集训练,用剩余的子集评估,一但参数挑选完毕,那么在用整个训练集训练,用测试集测试

hand on machine learning with

                         

相关文章:

  • 2022-01-22
  • 2021-05-22
  • 2022-12-23
  • 2022-01-20
  • 2021-12-27
  • 2021-10-28
  • 2021-08-25
  • 2021-09-03
猜你喜欢
  • 2021-04-06
  • 2018-02-08
  • 2021-08-31
  • 2021-12-10
  • 2021-07-27
  • 2022-03-07
  • 2021-11-21
相关资源
相似解决方案