Why should you train a simple baseline first?
Reveal the answer and explore the explanation.
09EasyWhy should you train a simple baseline first?
Answer
Easy
Why should you train a simple baseline first?
Answer
A baseline provides a reference for incremental value and can expose data or metric problems early.
Practical example
Compare a complex classifier against a majority-class rule and logistic regression.
PythonRelated concept example
from sklearn.dummy import DummyClassifier
X = [[1], [2], [3], [4]]
y = [0, 0, 0, 1]
model = DummyClassifier(strategy='most_frequent').fit(X,y)
print(model.predict([[5]]))Compare a trained model to a simple baseline on independent data.
Reference: Further reading ↗