Skip to content

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