MLearning.ai
Published in

MLearning.ai

How to use sklearn’s DummyClassifier method

Sklearn’s DummyClassifier is a classifier that uses very simple rules and iis useful as a simple baseline to compare other classifiers.

I have never used sklearn’s DummyClassifier, so I thought it would be a good idea to measure the baseline of the Titanic dataset to see what the prediction would be using simple rules. In order to carry this experiment out, I set the DummyClassifier…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Tracyrenee

Tracyrenee

585 Followers

I have close to five decades experience in the world of work, being in fast food, the military, business, non-profits, and the healthcare sector.