zoukankan      html  css  js  c++  java
  • machine learning(10) -- classification:logistic regression cost function 和 使用 gradient descent to minimize cost function

    • 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

  • 相关阅读:
    CSRF的安全问题
    preg_replace
    反汇编:虚函数表
    12.Proxy
    JS中的this
    11.Set 和 Map数据结构
    10.symbol
    9.对象的扩展
    test
    ES5支持的方法
  • 原文地址:https://www.cnblogs.com/yan2015/p/4767010.html
Copyright © 2011-2022 走看看