Skip to content

[ML] Dataframe Analytics: Update feature_influence format #77046

@walterra

Description

@walterra

Until now, the format for feature influence looked like this: Next to outlier_score there are feature_influence.<feature_name> entries.

This format is changing as having the feature name in the field name may become problematic (field explosion, invalid field chars, etc.)

The updated format will look like this:

{
  ...
  "results_field": {
    "outlier_score": 0.42,
    "feature_influence": [
      {
        "feature_name": "name1",
        "influence": 0.333
      },
      {
        "feature_name": "name2",
        "influence": 0.01
      }
    ]
  }
}

Since the feature is still experimental, we don't necessarily have to support the old format, still, it's worth discussing if we want to support it. We have to implement that the code recognizes a possible old format nonetheless, so we could just as well then support correctly showing the old data.

Elasticsearch related PR: elastic/elasticsearch#62068


Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions