Re: [scikit-learn] Class weight SVC

2020-05-27 Thread Guillaume LemaƮtre
I don't think that we rescale the sample_weight and therefore the results should be different. On Fri, 24 Apr 2020 at 12:41, Francesco basciani wrote: > Hi, i have a question regarding the class weights in SVC. I have an > imbalanced binary classification problem. In my case the ratio between th

[scikit-learn] Class weight SVC

2020-04-24 Thread Francesco basciani
Hi, i have a question regarding the class weights in SVC. I have an imbalanced binary classification problem. In my case the ratio between the positive class and the negative class is 4:1. I just want to know if setting class weight to: class_weight = {1: 0.25, 0: 1} is the same to setting it to: