Flow
TEST29711663b6sklearn.dummy.DummyClassifier

TEST29711663b6sklearn.dummy.DummyClassifier

Visibility: public Uploaded 17-12-2024 by Continuous Integration sklearn==1.5.2 numpy>=1.19.5 scipy>=1.6.0 joblib>=1.2.0 threadpoolctl>=3.1.0 0 runs
0 likes downloaded by 0 people 0 issues 0 downvotes , 0 total downloads
  • openml-python python scikit-learn sklearn sklearn_1.5.2
Issue #Downvotes for this reason By


Loading wiki
Help us complete this description Edit
DummyClassifier makes predictions that ignore the input features. This classifier serves as a simple baseline to compare against other more complex classifiers. The specific behavior of the baseline is selected with the `strategy` parameter. All strategies make predictions that ignore the input feature values passed as the `X` argument to `fit` and `predict`. The predictions, however, typically depend on values observed in the `y` parameter passed to `fit`. Note that the "stratified" and "uniform" strategies lead to non-deterministic predictions that can be rendered deterministic by setting the `random_state` parameter if needed. The other strategies are naturally deterministic and, once fit, always return the same constant prediction for any value of `X`.

Parameters

0
Runs

List all runs
Parameter:
Rendering chart
Rendering table