-
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
Remove ClassInfo interface and BinaryClassInfo class. #49649
Remove ClassInfo interface and BinaryClassInfo class. #49649
Conversation
7ddc3f9
to
ba5e55d
Compare
Pinging @elastic/ml-core (:ml) |
run elasticsearch-ci/default-distro |
1 similar comment
run elasticsearch-ci/default-distro |
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.
Lots of good stuff in this one! My two code comments are very minor and on points you didn't introduce now but it was already in the existing code.
...ugin/core/src/main/java/org/elasticsearch/xpack/core/ml/dataframe/evaluation/Evaluation.java
Outdated
Show resolved
Hide resolved
...ugin/core/src/main/java/org/elasticsearch/xpack/core/ml/dataframe/evaluation/Evaluation.java
Outdated
Show resolved
Hide resolved
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.
LGTM
Several cleanups in evaluation server-side code:
ClassInfo
interface andBinaryClassInfo
class. This class was meant to provide support for multiple classes but such a functionality is not currently needed and the code becomes simpler without it.aggs
andprocess
methods toEvaluationMetric
interfaceEvaluation
's subclasses to the interfaceRelated to #48759