We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
is_maximizable_metric
(Related Issue: #1890) (CatBoost version v1.0.3)
Following the logic of this commit, to determine if a string eval_metric is_max_optimal==True I can do the following:
is_max_optimal==True
eval_metric = 'Accuracy' from catboost._catboost import is_maximizable_metric is_max_optimal = is_maximizable_metric(eval_metric)
I can also do:
from catboost import metrics eval_metric = metrics.Accuracy() is_max_optimal = eval_metric.is_max_optimal()
Given eval_metric = 'Accuracy', is there:
eval_metric = 'Accuracy'
is_max_optimal = is_maximizable_metric(eval_metric)
or
catboost.metrics.Accuracy()
In general I want to avoid using a private API function.
The text was updated successfully, but these errors were encountered:
[catboost] add is_max/minimizable methods #1915
34cd3b1
ref:c43a05a1fdebb2e7cac484c860243e52f8b7921d
is_maximizable_metric and is_minimizable_metric are public now.
is_minimizable_metric
Sorry, something went wrong.
06321fe
No branches or pull requests
(Related Issue: #1890)
(CatBoost version v1.0.3)
Following the logic of this commit, to determine if a string eval_metric
is_max_optimal==True
I can do the following:I can also do:
Given
eval_metric = 'Accuracy'
, is there:is_max_optimal = is_maximizable_metric(eval_metric)
without having to use a private API?or
catboost.metrics.Accuracy()
via the string alone?In general I want to avoid using a private API function.
The text was updated successfully, but these errors were encountered: