feature scaling:缩小或扩大feature的值,使所有的feature处于类似的范围,这样进行gradient descnet时更快趋向最小值.因为不同的feature的范围相差很大时,它的cost function的等值线是椭圆的,但当它们相近时,等值线接近于圆,这样趋向最小值是,圆更快,椭圆更曲折,趋向更慢。(一般在+3到-3的范围内即可)

 machine learning (4)---feature scaling

mean normalization:

machine learning (4)---feature scaling

相关文章:

  • 2021-12-25
  • 2021-05-10
  • 2021-10-06
  • 2022-01-03
  • 2021-07-28
  • 2022-12-23
  • 2021-05-28
  • 2021-07-11
猜你喜欢
  • 2022-12-23
  • 2021-11-26
  • 2021-07-02
  • 2021-10-01
  • 2021-11-16
  • 2022-01-08
相关资源
相似解决方案