-
Notifications
You must be signed in to change notification settings - Fork 213
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
estimator compatibility issues with sklearn #324
Comments
|
With Sklearn ensemble voting classifier, it can use |
Hello, I've used the NGboost with sklearn ensemble voting to be a base estimator,
But it's showing
ValueError: The estimator NGBClassifier should be a classifier.
.At the same time, I used Xgboost and LightGBM to be the base estimators.
When I checked their type of class and saw the API name are <class 'xgboost.sklearn.XGBClassifier'> and <class 'lightgbm.sklearn.LGBMClassifier'>
But NGboost show
<class 'ngboost.api.NGBClassifier'>
. Could anyone modify the API class with compatibility with the sklearn estimator and test it?The test code is:
Reference:
Thanks !
The text was updated successfully, but these errors were encountered: