Flow
TESTb6cce6b6c7sklearn.ensemble._voting.VotingClassifier(dt=sklearn.tree._classes.DecisionTreeClassifier)

TESTb6cce6b6c7sklearn.ensemble._voting.VotingClassifier(dt=sklearn.tree._classes.DecisionTreeClassifier)

Visibility: public Uploaded 18-10-2024 by Continuous Integration sklearn==0.23.1 numpy>=1.13.3 scipy>=0.19.1 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_0.23.1
Issue #Downvotes for this reason By


Loading wiki
Help us complete this description Edit
Soft Voting/Majority Rule classifier for unfitted estimators. .. versionadded:: 0.17

Parameters

estimatorsInvoking the ``fit`` method on the ``VotingClassifier`` will fit clones of those original estimators that will be stored in the class attribute ``self.estimators_``. An estimator can be set to ``'drop'`` using ``set_params`` .. versionchanged:: 0.21 ``'drop'`` is accepted .. deprecated:: 0.22 Using ``None`` to drop an estimator is deprecated in 0.22 and support will be dropped in 0.24. Use the string ``'drop'`` instead voting : {'hard', 'soft'}, default='hard' If 'hard', uses predicted class labels for majority rule voting Else if 'soft', predicts the class label based on the argmax of the sums of the predicted probabilities, which is recommended for an ensemble of well-calibrated classifiersdefault: [{"oml-python:serialized_object": "component_reference", "value": {"key": "dt", "step_name": "dt"}}]
flatten_transformAffects shape of transform output only when voting='soft' If voting='soft' and flatten_transform=True, transform method returns matrix with shape (n_samples, n_classifiers * n_classes). If flatten_transform=False, it returns (n_classifiers, n_samples, n_classes)default: true
n_jobsThe number of jobs to run in parallel for ``fit`` ``None`` means 1 unless in a :obj:`joblib.parallel_backend` context ``-1`` means using all processors. See :term:`Glossary ` for more details .. versionadded:: 0.18default: null
verboseIf True, the time elapsed while fitting will be printed as it is completed.default: false
votingdefault: "hard"
weightsSequence of weights (`float` or `int`) to weight the occurrences of predicted class labels (`hard` voting) or class probabilities before averaging (`soft` voting). Uses uniform weights if `None`default: null

0
Runs

List all runs
Parameter:
Rendering chart
Rendering table