Skip to content
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

Problems with regression modus #12

Open
ylnguyen opened this issue Apr 5, 2023 · 0 comments
Open

Problems with regression modus #12

ylnguyen opened this issue Apr 5, 2023 · 0 comments

Comments

@ylnguyen
Copy link

ylnguyen commented Apr 5, 2023

The network is failing when the modus is set to regression and coarse is set to False. I get the following error:
ValueError: Input contains NaN, infinity or a value too large for dtype('float32').
When I trace this error, it seems to be related to the XGBRegressor from the XGBoost library. For now, I just manually add the estimators and leave the XGBRegressor out of the ensemble:
estimators = ['SVR', 'RFR', 'ElasticNet', 'Lasso', 'AdaBoostRegressor', 'LinR', 'Ridge']
if modus == 'binary_classification': experiment.binary_classification(coarse=coarse)
elif modus == 'regression': experiment.regression(estimators=estimators, coarse=None)
elif modus == 'multiclass_classification': experiment.multiclass_classification(coarse=coarse)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant