[scikit-learn] question about class_weights in LogisticRegression
Jeremiah.Johnson at unh.edu
Tue Aug 1 12:03:01 EDT 2017
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the scikit-learn