Re: [Scikit-learn-general] Different results in R and sklearn

2015-01-20 Thread Andy
I think this library might apply zero mean, unit variance scaling before using libsvm. Try applying the ``StandardScaler`` to your data before using SVC. On 01/20/2015 11:29 AM, Timothy Vivian-Griffiths wrote: > Hi Andy, > > Firstly, the dimensions that I gave were wrong, you're right. The inputs

[Scikit-learn-general] Different results in R and sklearn

2015-01-20 Thread Timothy Vivian-Griffiths
Hi Andy, Firstly, the dimensions that I gave were wrong, you're right. The inputs are correct but the target vector shape is (7763,) so there are that many samples with 125 features (that is in the smaller dataset I am using, the other has over 30,000 features but I haven't tried that one in R