I have my own classifier, which is written in python. I want to use this classifier using the adaboostclassifier method. One example that was provided online is in the link.
The key code line is as follows
clf_2 = AdaBoostRegressor(DecisionTreeRegressor(max_depth=4),
n_estimators=300, random_state=rng)
It combines DecisionTreeRegressor with a boost.
I am wondering how we can give a classified classification method.
What methods should be implemented, data formats, etc.
Is there any code that could be used online? Any sample code that can demonstrate by connecting your custom classifier.
source
share