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

Pass prediction_field_type to C++ analytics process #49861

Merged
merged 3 commits into from
Dec 9, 2019

Conversation

przemekwitek
Copy link
Contributor

@przemekwitek przemekwitek commented Dec 5, 2019

This PR is a continuation of the work started in elastic/ml-cpp#877.
It passes prediction_field_type parameter from Java down to C++ process.

A few changes had to be made in order to make this possible:

  • getParams method now accepts extracted fields types so that it can lookup the type of the dependent variable field
  • boolean field is now always mapped as integer (0 or 1)

Relates #49796

@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core (:ml)

@przemekwitek przemekwitek force-pushed the fix_accuracy_comparison branch 5 times, most recently from 7d536ae to 775ca8d Compare December 6, 2019 10:50
@przemekwitek
Copy link
Contributor Author

run elasticsearch-ci/packaging-sample-matrix

@przemekwitek
Copy link
Contributor Author

run elasticsearch-ci/2

@przemekwitek przemekwitek force-pushed the fix_accuracy_comparison branch from 775ca8d to 6a338fa Compare December 9, 2019 08:44
@przemekwitek
Copy link
Contributor Author

run elasticsearch-ci/packaging-sample-matrix

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.

5 participants