Build Baseline Models Effortlessly With Sklearn
Before developing a complex ML model, it is always sensible to create a baseline first.
The baseline serves as a benchmark for the engineered model. Moreover, it ensures that the model is better than making random (or fixed) predictions. But building baselines with various strategies (random, fixed, most frequent, etc.) can be tedious.
Instead, Sklearn's ๐๐ฎ๐ฆ๐ฆ๐ฒ๐๐ฅ๐๐ฌ๐ฌ๐ข๐๐ข๐๐ซ() (and ๐๐ฎ๐ฆ๐ฆ๐ฒ๐๐๐ ๐ซ๐๐ฌ๐ฌ๐จ๐ซ()) makes it totally effortless and straightforward. You can select the specific behavior of the baseline with the ๐ฌ๐ญ๐ซ๐๐ญ๐๐ ๐ฒ parameter.
Read more here: Documentation.
I like to explore, experiment and write about data science concepts and tools. You could connect with me on LinkedIn.