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

A few cleanups in evaluation test code #49791

Merged
merged 1 commit into from
Dec 3, 2019

Conversation

przemekwitek
Copy link
Contributor

@przemekwitek przemekwitek commented Dec 3, 2019

This PR implements a few cleanups in df evaluation test code that are useful to be merged in before related functional changes (precision and recall metrics):

  1. Move 6 tests from org.elasticsearch.xpack.core.ml to org.elasticsearch.xpack.core.ml.dataframe.evaluation.softclassification where they belong
  2. Expose randomResult method in test classes so that EvaluateDataFrameResponseTests can use it
  3. Extract common mocks into MockAggregations class

Relates #48759

@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core (:ml)

@przemekwitek
Copy link
Contributor Author

run elasticsearch-ci/packaging-sample-matrix

@przemekwitek przemekwitek merged commit 16bfdca into elastic:master Dec 3, 2019
@przemekwitek przemekwitek deleted the cleanup_evaluation_tests branch December 3, 2019 14:04
SivagurunathanV pushed a commit to SivagurunathanV/elasticsearch that referenced this pull request Jan 23, 2020
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