李燕

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  • logistic regression cost function(single example)

         

  • 图像分布

         

 

        

  • logistic regression cost function(m examples)

        

  • Writting cost function in a more convenient form with just one line

        

          

  • To fit parameter θ

          

  •  Using gradient descent to minimize cost function 

         

         

        看上去和gradient descent for linear regression是一样的,但是其实只是形式一至,hθ(x)不一样,如上图所示,蓝色的hθ(x)为linear regression的,红色的为logistic         regression

 

posted on 2015-08-28 17:02  李燕  阅读(316)  评论(0)    收藏  举报