regularized learning algorthm
There will have many problems when training machine learning algorithm.
under fitting problemFeature Polynomial too low for fitting target training set, unable to meet training set’s performance, let alone future data.
overfitting problemFeature polynomial too high for fitting target training set, means fit training set’s performance too well, but unable to predict future data.
Regularization could ameliorate or to reduce over-fitting problem.
- $m$ is the number of training set records.
- $n$ is the number of features
- $\lambda$ is penality value for reducing high polynomial features’ effect, with larger this value is, smaller the effect is, but learning algorithm turn out to under fitting if $\lambda$ too high.
regularized Linear regression
regularized logistic regression
27 July 2014