【李宏毅】机器学习 笔记05(Logistic Regression:逻辑回归)

Setp 1:Fuction Set 将z代入sigmod函数:1/1+e^-z   Step2:Goodness of a function: 找出使L(w,b)最大的w和b,记为w*和b* H(p,q)称为p和q的交叉熵(cross entropy);   Step3:Find the best function: 使用gradient descent来最小化−lnL(w,b) 对w求偏导:
相关文章
相关标签/搜索