Skip to content

Set estimators of VotingClassifier as parameters #7288

Closed
@jnothman

Description

@jnothman

#1769 introduced the ability to use set_params for setting the elements of a Pipeline/FeatureUnion with parameter search. It also allowed transformers to be removed by setting to None. Some of this functionality is mediated by a new base class sklearn.pipeline._BasePipeline.

For completeness, these features should be extended to VotingClassifier (although it's not as clear how useful they'll be there; setting to None can be accomplished with the weights parameter). Certainly the step name validation introduced by #1769 should be adopted in VotingClassifier (see also bug #1800).

It may be worthwhile to rename and/or move _BasePipeline in the process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ModerateAnything that requires some knowledge of conventions and best practices

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions