|
Hi, I read that normalizing data would yield better results for libsvm. I wanted to make sure, if libsvm implementation in scikit-learn, internally normalizes data. Thank you |
|
The section "3.2.5. Tips on Practical Use" on this page http://scikit-learn.org/stable/modules/svm.html recommends to scale the data before using. This document doesn't tell anything about internal scaling. I don't think the scikit-learn library will scale normalize the data internally. Here is the document which the above page refers to http://scikit-learn.org/stable/modules/preprocessing.html#preprocessing 1
Thank you. Yeah I too saw those. But when I dig into implementation of libsvm, I think I saw normalization, so was not sure, if we require another normalization.
(Apr 26 '13 at 14:56)
Tez
there is a separate tool
(Apr 26 '13 at 16:21)
phoxis
No need to use a separate tool (that isn't shipped with scikit-learn). The functionality is all there.
(Apr 27 '13 at 09:03)
larsmans
|
|
You have to do scaling or normalization separately. The
Normalization is appropriate when handling things like term frequencies. For simple Gaussian or nearly-Gaussian features, use scaling.
|
You have a better chance to get an answer if you add directly to the sklearn mailing list