【李宏毅】機器學習 筆記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求偏導:
相關文章
相關標籤/搜索