-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
[ML] Extend default evaluation metrics to all available #63939
[ML] Extend default evaluation metrics to all available #63939
Conversation
This commit extends the set of default metrics for the data frame analytics evaluation API to all available metrics. The motivation is that if the user skips setting an explicit set of metrics, they get most of the evaluation offering.
Pinging @elastic/ml-core (:ml) |
@szabosteve Perhaps it would be worth adding to our docs an explanation about which metrics are included by default. If you agree let's discuss it offline. |
…#63939) This commit extends the set of default metrics for the data frame analytics evaluation API to all available metrics. The motivation is that if the user skips setting an explicit set of metrics, they get most of the evaluation offering. Backport of elastic#63939
This commit extends the set of default metrics for the data frame analytics evaluation API to all available metrics. The motivation is that if the user skips setting an explicit set of metrics, they get most of the evaluation offering.
@@ -76,7 +76,7 @@ public Regression(String actualField, String predictedField, @Nullable List<Eval | |||
} | |||
|
|||
private static List<EvaluationMetric> defaultMetrics() { | |||
return Arrays.asList(new MeanSquaredError(), new RSquared()); | |||
return Arrays.asList(new MeanSquaredError(), new RSquared(), new Huber()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was it on purpose not to include MSLE here? Is it because we cannot set offset
automagically for the user?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was intentional indeed. The reason is because we cannot calculate MSLE for negative values.
This commit extends the set of default metrics for the
data frame analytics evaluation API to all available metrics.
The motivation is that if the user skips setting an explicit
set of metrics, they get most of the evaluation offering.