yanyachen / rBayesianOptimization

Bayesian Optimization of Hyperparameters
81 stars 21 forks source link

Minimizing #17

Closed dragie closed 7 years ago

dragie commented 7 years ago

How do I minimize an evaluation metric? I am trying to develop a xgboost model with mlogloss as evalmetric. But it looks like the FUN only try to maximize the values.

yanyachen commented 7 years ago

You can try to maximize (-1 * mlogloss)

dragie commented 7 years ago

That helped me. Thanks