RoboticsClubIITJ / ML-DL-implementation

An implementation of ML and DL algorithms from scratch in python using nothing but NumPy and Matplotlib.
BSD 3-Clause "New" or "Revised" License
49 stars 69 forks source link

Implement Bagging Classifier and Regressor #176

Open kwanit1142 opened 3 years ago

kwanit1142 commented 3 years ago

Aim :- Make Bagging convenient according to the Base_Estimator_Model (Linear Regression, Decision Tree, SVMs, etc.) and according to their numbers too.

References :-

https://machinelearningmastery.com/implement-bagging-scratch-python/ <----- (Take Idea for Bagging Samples from here)

Most of the Implementation would be self-done. Still more resources would be tried to brough upon here.

Requirement :-

See KNN as Classifier and Regressor, in models.py, where the mode can be switched by changing the boolean value of the "classify" argument.