Hello all,

I'm looking for confirmation on an implementation detail that is somewhere in 
liblinear, but I haven't found documentation for yet. When the 
class_weights='balanced' parameter is set in LogisticRegression, then the 
regularisation parameter for an observation from class I is class_weight[I] * 
C, where C is the usual regularization parameter - is this correct?

Thanks,
Jeremiah

_______________________________________________
scikit-learn mailing list
scikit-learn@python.org
https://mail.python.org/mailman/listinfo/scikit-learn

Reply via email to