Fit a DummyClassifier(strategy="uniform", random_state=0) and return [accuracy,…

Machine Learning · from Why accuracy lies

accuracyDummyClassifierclass imbalancebaselinesDummyRegressor

Putting the kettle on…

Starting up…

Exercise 1

Fit a DummyClassifier(strategy="uniform", random_state=0) and return [accuracy, recall] on the test set, rounded to 4 places. The second number should be uncomfortable.

your answer
stuck? the lesson behind it
Why accuracy lies
A coin flip finds more late deliveries than our model does