[scikit-learn] NuSVC and ValueError: specified nu is infeasible

Thomas Evangelidis tevang3 at gmail.com
Thu Dec 8 10:59:14 EST 2016

It finally  works with nu=0.01 or less and the predictions are good. Is
there a problem with that?

On 8 December 2016 at 12:57, Thomas Evangelidis <tevang3 at gmail.com> wrote:

>> @Thomas
>> I still think the optimization problem is not feasible due to your data.
>> Have you tried balancing the dataset as I mentioned in your other
>> question regarding the
>> ​​
>> MLPClassifier?
> ​Hi Piotr,
> I had tried all the balancing algorithms in the link that you stated, but
> the only one that really offered some improvement was the SMOTE
> over-sampling of positive observations. The original dataset contained ​24
> positive and 1230 negative but after SMOTE I doubled the positive to 48.
> Reduction of the negative observations led to poor predictions, at least
> using random forests. I haven't tried it with
>> MLPClassifier yet though.



Thomas Evangelidis

Research Specialist
CEITEC - Central European Institute of Technology
Masaryk University
Kamenice 5/A35/1S081,
62500 Brno, Czech Republic

email: tevang at pharm.uoa.gr

          tevang3 at gmail.com

website: https://sites.google.com/site/thomasevangelidishomepage/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20161208/949ec076/attachment.html>

More information about the scikit-learn mailing list