Closed dragie closed 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.
You can try to maximize (-1 * mlogloss)
That helped me. Thanks
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.