Show they're the same trade
Machine Learning · from Class imbalance
class_weightthreshold tuningSMOTEresamplingprecision/recall tradePutting the kettle on…
Starting up…
Exercise 3
Show they're the same trade. Return the accuracy of the balanced model and of the plain model cut at 0.25, rounded to 4 places. They should match.
your answer
stuck? the lesson behind it
Class imbalance
One keyword takes recall from 0.44 to 0.78 — and accuracy below the dummy