-
Notifications
You must be signed in to change notification settings - Fork 391
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
GradientBoosting with SKORCH #787
Comments
scikit-learn's |
Did you mean to use |
Thanks for your prompt reply. I mean GradientBoostingClassifier. I though it could support a change on the base estimator by using Skorch since it does when using Ensemble-Pytorch. |
No, this does not work unfortunately. You can only change the loss, which should be a string, which is why you saw the error message above. Given that we can't do anything about this situation on the skorch side, I'll close the issue. If you have further questions, feel free to re-open. |
Is that the same with XGB classifier? Is it possible to adapt the base estimator and interface it with Skorch? |
I would like to use skorch to implement Sklearn's GradientBoosting methods on torch based models.
Here is my first implementation on MNIST dataset, based on a previous solved issue on ADABoost for Skorch.
However I keep getting this error:
I tried to solve it, but I don't understand exactly why there is the incompatibility.
The text was updated successfully, but these errors were encountered: