Skip to content
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

Merged

Conversation

przemekwitek
Copy link
Contributor

@przemekwitek przemekwitek commented Nov 27, 2019

Several cleanups in evaluation server-side code:

  • Remove ClassInfo interface and BinaryClassInfo 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.
  • Move the aggs and process methods to EvaluationMetric interface
  • Move the common code from Evaluation's subclasses to the interface

Related to #48759

@przemekwitek przemekwitek marked this pull request as ready for review November 27, 2019 15:15
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core (:ml)

@przemekwitek
Copy link
Contributor Author

run elasticsearch-ci/default-distro

1 similar comment
@przemekwitek
Copy link
Contributor Author

run elasticsearch-ci/default-distro

Copy link
Contributor

@dimitris-athanasiou dimitris-athanasiou left a 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.

Copy link
Contributor

@dimitris-athanasiou dimitris-athanasiou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants