Fit a DummyClassifier(strategy="most_frequent") on the same split and return it…

Machine Learning · from Your first model

make_pipelineSimpleImputerStandardScalerLogisticRegressionDummyClassifierbaselines

Putting the kettle on…

Starting up…

Exercise 2

Fit a DummyClassifier(strategy="most_frequent") on the same split and return its test accuracy, rounded to 4 places. This is the number every other score has to beat.

your answer
stuck? the lesson behind it
Your first model
Eight lines, 79.6% accurate — and why that number should worry you