Concept

sklearn.dummy.DummyRegressor strategy parameter

Strategies to make predictions when using the DummyRegressor:

  • strategy = "mean". Predicts the mean value of the training set targets
  • strategy = "median". Predicts the median value of the training set targets.
  • strategy = "constant". Predicts a constant, user-provided value. Value is provided using the constant parameter.
  • strategy = "quantile". Predicts a quantile (specified by the user) of the training set targets. Value provided using the quantile parameter.

0

1

Updated 2020-10-10

Tags

Data Science