evalml.pipelines.components.BaselineClassifier.__init__¶
-
BaselineClassifier.
__init__
(strategy='mode', random_state=0, **kwargs)[source]¶ Baseline classifier that uses a simple strategy to make predictions.
- Parameters
strategy (str) – method used to predict. Valid options are “mode”, “random” and “random_weighted”. Defaults to “mode”.
random_state (int, np.random.RandomState) – seed for the random number generator