Using GridSearchCV with AdaBoost and DecisionTreeClassifier
There are several things wrong in the code you posted: The keys of the param_grid dictionary need to be strings. You should be getting a NameError. The key “abc__n_estimators” should just be “n_estimators”: you are probably mixing this with the pipeline syntax. Here nothing tells Python that the string “abc” represents your AdaBoostClassifier. None (and … Read more