-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature/Adaboost implementation #207
Comments
I found the ML-From-Scratch example and the StatQuest explanation exactly aligns in terms of implementation. I will work on the feature primarily based on the ML-From-Scratch example. |
Started the implementation here https://github.com/machinelearnjs/machinelearnjs/tree/feature/adaboost |
@BenjaminMcDonald suggested refactoring go about
is equivalent to
|
There's still a problem with |
Prediction is still always returning 1s. To debug the issue:
Observations:
Alternative solutions:
|
Python experiment
|
I'm submitting a ...
[/] feature request
Summary
An AdaBoost classifier is a meta-estimator that begins by fitting a classifier on the original dataset and then fits additional copies of the classifier on the same dataset but where the weights of incorrectly classified instances are adjusted such that subsequent classifiers focus more on difficult cases.
In an effort to implement boosting models in the library, Adaboost would be an ideal first model to implement in order for me to understand how boosting works.
The text was updated successfully, but these errors were encountered: