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

[7.x] [ML][Inference] adds new default_field_map field to trained models (#53294) #53419

Merged
merged 1 commit into from
Mar 11, 2020

Conversation

benwtrent
Copy link
Member

Backports the following commits to 7.x:

…lastic#53294)

Adds a new `default_field_map` field to trained model config objects.

This allows the model creator to supply field map if it knows that there should be some map for inference to work directly against the training data.

The use case internally is having analytics jobs supply a field mapping for multi-field fields. This allows us to use the model "out of the box" on data where we trained on `foo.keyword` but the `_source` only references `foo`.
@benwtrent benwtrent added :ml Machine learning backport labels Mar 11, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core (:ml)

@benwtrent benwtrent merged commit 89668c5 into elastic:7.x Mar 11, 2020
@benwtrent benwtrent deleted the backport/7.x/pr-53294 branch March 11, 2020 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :ml Machine learning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants