http://mathworld.wolfram.com/L1-Norm.html
http://mathworld.wolfram.com/L2-Norm.html
matlab : https://www.mathworks.com/matlabcentral/answers/146264-how-to-perform-l2-normalization
If v is the vector do:
v = v/norm(v);
(The 'norm' function gives L2 norm as a default.)
'Machine Learning' 카테고리의 다른 글
Guided Regularized Random Forest (발표자: 박찬희) (0) | 2016.12.15 |
---|---|
facial-expression-recognition matlab code (0) | 2016.11.29 |
Machine Learning FAQ (0) | 2016.11.23 |
libsvm에서 roc curve그리기 (0) | 2016.10.27 |
Accuracy, Sensitivity, and Specificity (0) | 2016.10.26 |