OpenSearch/client
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
..
benchmark Replace compile configuration usage with api (7.x backport) (#58721) 2020-06-30 15:57:41 +02:00
client-benchmark-noop-api-plugin [7.x] Remove integTest task from PluginBuildPlugin (#61879) (#62135) 2020-09-09 14:25:41 -05:00
rest Drop assertion that rest client header warnings conform to RFC 7234 (#61365) (#61799) 2020-09-02 09:57:51 +01:00
rest-high-level [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
sniffer Replace compile configuration usage with api (7.x backport) (#58721) 2020-06-30 15:57:41 +02:00
test Replace compile configuration usage with api (7.x backport) (#58721) 2020-06-30 15:57:41 +02:00
transport Enforce fail on deprecated gradle usage (7.x backport) (#59758) 2020-07-20 08:52:30 +02:00