Flow
TEST749a06db5csklearn.dummy.DummyClassifier

TEST749a06db5csklearn.dummy.DummyClassifier

Visibility: public Uploaded 18-10-2024 by Continuous Integration sklearn==1.0.2 numpy>=1.14.6 scipy>=1.1.0 joblib>=0.11 threadpoolctl>=2.0.0 0 runs
0 likes downloaded by 0 people 0 issues 0 downvotes , 0 total downloads
  • openml-python python scikit-learn sklearn sklearn_1.0.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 a the same constant prediction for any value of `X`.

Parameters

0
Runs

List all runs
Parameter:
Rendering chart
Rendering table