[关闭]
@nrailgun 2016-03-01T17:33:57.000000Z 字数 833 阅读 1440

UFLDL Summary

机器学习


Linear regression

J(θ)=12i(θTx(i)y(i))2

J(θ)θj=ix(i)j(θTx(i)y(i))

Logistic regression

P(y=1x)=hθ(x)=11+exp(θTx)

P(y=0x)=1hθ(x)

J(θ)=i(y(i)log(hθ(x(i)))+(1y(i))log(1hθ(x(i))))

θJ(θ)=ix(i)(hθ(x(i))y(i))

PCA

Σ=1mimx(i)(x(i))T

U=[u1,u2,] is the eigenvector matrix, uT1x is the length of projection of x onto u1.

x=Uxrot, thus xrot=UTx.

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