OpenSearch/docs/reference/ml
Benjamin Trent e163559e4c
[7.x] [ML] Add new include flag to GET inference/<model_id> API for model training metadata (#61922) (#62620)
* [ML] Add new include flag to GET inference/<model_id> API for model training metadata (#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.

* fixing test

* Update x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetTrainedModelsRequestTests.java
2020-09-18 10:07:35 -04:00
..
anomaly-detection [ML] Include the "properties" layer in find_file_structure mappings (#62158) 2020-09-10 09:33:42 +01:00
df-analytics/apis [7.x] [ML] Add new include flag to GET inference/<model_id> API for model training metadata (#61922) (#62620) 2020-09-18 10:07:35 -04:00
images [DOCS] Refresh machine learning custom URL example (#61826) (#61950) 2020-09-04 09:44:55 -07:00
ml-shared.asciidoc [7.x] [ML] Add new include flag to GET inference/<model_id> API for model training metadata (#61922) (#62620) 2020-09-18 10:07:35 -04:00