Baseline

A baseline is a very simple model used as a point of comparison: predicting the mean or median in regression, the majority class in classification. A complex model is only worthwhile if it does better. In scikit-learn, you use DummyRegressor or DummyClassifier.

Example

DummyClassifier(strategy='most_frequent').fit(X_train, y_train)

Related concepts

The whole glossary