Fit logistic regression with class_weight="balanced" and return [accuracy, reca…
Machine Learning · from Class imbalance
class_weightthreshold tuningSMOTEresamplingprecision/recall tradePutting the kettle on…
Starting up…
Exercise 1
Fit logistic regression with class_weight="balanced" and return [accuracy, recall, f1] on the test set, rounded to 4 places.
your answer
stuck? the lesson behind it
Class imbalance
One keyword takes recall from 0.44 to 0.78 — and accuracy below the dummy