Skip to content

Deprecation Warning: base_estimator in BaggingClassifier (Scikit-learn) - Machine Learning Tutorial Python - 21 #284

Open
@adityagh006

Description

@adityagh006

Description:

In the Jupyter Notebook for Machine Learning Tutorial Python - 21: Ensemble Learning - Bagging (link to file), the parameter base_estimator used in BaggingClassifier is outdated.

###Suggested Fix:
Replace:

BaggingClassifier(base_estimator=DecisionTreeClassifier())

With:

BaggingClassifier(estimator=DecisionTreeClassifier())

Can I Work on This?
I'd love to contribute by fixing this issue. Please let me know if I can submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions