Re: [Scikit-learn-general] problem with sample_weight in SVC...

2015-01-18 Thread Andy
I agree, that does look odd. Can you open an issue on the tracker? It does look like a numeric instability I don't know where it comes from. Even with much smaller sigma the same happens. Andy On 01/16/2015 03:21 PM, Sylvain Takerkart wrote: Dear all, I'm trying to use the instance weighti

[Scikit-learn-general] problem with sample_weight in SVC...

2015-01-16 Thread Sylvain Takerkart
Dear all, I'm trying to use the instance weighting capability of the SVC class, and I encountered some weird behavior: when the C parameter is chosen very small and the weights are not very large, weighted SVM yields constant prediction... Here is a piece of code that demonstrates this https://dl