I am facing the problem of class imbalance in my dataset. Due to some constraints, I cannot use any other classifier than logistic regression in sklearn.
Given that, Can I impose a penalty for misclassification of the minority class to improve the model?
predictmethod that arbitrarily thresholds at 0.5, and you should never use it. – Matthew Drury Apr 27 '18 at 14:19