Skip to content

[7.x] [ML] Add new include flag to GET inference/<model_id> API for model training metadata (#61922)#62620

Merged
benwtrent merged 3 commits intoelastic:7.xfrom
benwtrent:backport/7.x/pr-61922
Sep 18, 2020
Merged

[7.x] [ML] Add new include flag to GET inference/<model_id> API for model training metadata (#61922)#62620
benwtrent merged 3 commits intoelastic:7.xfrom
benwtrent:backport/7.x/pr-61922

Conversation

@benwtrent
Copy link
Copy Markdown
Member

Backports the following commits to 7.x:

…raining metadata (elastic#61922)

Adds new flag include to the get trained models API
The flag initially has two valid values: definition, total_feature_importance.
Consequently, the old include_model_definition flag is now deprecated.
When total_feature_importance is included, the total_feature_importance field is included in the model metadata object.
Including definition is the same as previously setting include_model_definition=true.
@benwtrent benwtrent added :ml Machine learning backport labels Sep 18, 2020
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/ml-core (:ml)

@benwtrent
Copy link
Copy Markdown
Member Author

run elasticsearch-ci/2

@benwtrent benwtrent merged commit e163559 into elastic:7.x Sep 18, 2020
@benwtrent benwtrent deleted the backport/7.x/pr-61922 branch September 18, 2020 14:07
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