This repository contains implementation of Decision Tree with Bagging and Adaboost. I have tried to keep things consistent scikit-learn, you will find many fimilarities with the notations used in scikit-learn and this code.
Please feel free to get in touch with me([prateekbhat91][@][gmail.com]remove the square brackets.) if you can find any issues or want to improve this code.
To be implemented: Sampling in adaboost.
from decisiontree import DecisiontreeClassifier
decisiontree = DecisiontreeClassifier()
decisiontree.fit(Xtrain,ytrain)
decisiontree.predict(Xtest)