erdogant / hgboost

hgboost is a python package for hyper-parameter optimization for xgboost, catboost or lightboost using cross-validation, and evaluating the results on an independent validation set. hgboost can be applied for classification and regression tasks.
http://erdogant.github.io/hgboost
Other
57 stars 17 forks source link

Running regression example error #6

Closed recherHE closed 3 years ago

recherHE commented 3 years ago

when I try to use hgboost for regression model ,there was a error: _get_params() got multiple values for argument 'eval_metric', at the begining,I think there are some error with my script,The same problem occurs when running the example follow: https://erdogant.github.io/hgboost/pages/html/Examples.html#xgboost-reg

erdogant commented 3 years ago

Thank you for pointing this out! I fixed the bug and released a new version.

Update with:

pip install -U hgboost Check the version, should be >= 0.1.10

import hgboost
print(hgboost.__version__)