OpenSearch/x-pack/plugin/ml/qa
Benjamin Trent d276058c6c
[ML] adjusting feature importance mapping for multi-class support (#53821) (#54013)
Feature importance storage format is changing to encompass multi-class.

Feature importance objects are now mapped as follows
(logistic) Regression:
```
{
   "feature_name": "feature_0",
   "importance": -1.3
}
```
Multi-class [class names are `foo`, `bar`, `baz`]
```
{
   “feature_name”: “feature_0”,
   “importance”: 2.0, // sum(abs()) of class importances
   “foo”: 1.0,
   “bar”: 0.5,
   “baz”: -0.5
},
```

This change adjusts the mapping creation for analytics so that the field is mapped as a `nested` type.

Native side change: https://github.com/elastic/ml-cpp/pull/1071
2020-03-23 15:50:12 -04:00
..
basic-multi-node [ML] Make ml internal indices hidden (#52423) (#52509) 2020-02-19 14:02:32 +01:00
disabled Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
ml-with-security [7.x] Optimize which Rest resources are used by the Rest tests… (#53766) 2020-03-19 12:28:59 -05:00
native-multi-node-tests [ML] adjusting feature importance mapping for multi-class support (#53821) (#54013) 2020-03-23 15:50:12 -04:00
no-bootstrap-tests Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
single-node-tests Convert most awaitBusy calls to assertBusy (#45794) (#47112) 2019-09-29 12:21:46 +01:00
build.gradle [7.x] Smarter copying of the rest specs and tests (#52114) (#52798) 2020-02-26 08:13:41 -06:00