[关闭]
@nrailgun 2015-10-17T15:43:45.000000Z 字数 592 阅读 1481

CNNVR: Linear Classification

机器学习


Score function

Define a linear classification score function:

f(xi,W,b)=Wxi+b

where W is weight, b is bias, and xi is input image.

Loss function

Hinge loss (SVM) is defined as:

Li=jyimax(0,f(xi,W)jf(xi,W)yi+Δ)

Cross-Entropy loss (Softmax) is defined as:

Li=logefyijefj

L2 regularization

Define complexity as

R(W)=klW2k,l

and total loss is
L=1NiLi+λR(W)

where λ is called regularization strength.

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注