-
Notifications
You must be signed in to change notification settings - Fork 24.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DOCS] Adds feature importance mapping subsection to inference processor docs #54190
Conversation
Pinging @elastic/es-docs (>docs) |
Pinging @elastic/ml-core (:ml) |
|
||
[source,js] | ||
-------------------------------------------------- | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should indicate that this is the mapping for the feature importance result field.
`ml.<inference.target_field>`.`<inference.tag>`.`feature_importance` | ||
|
||
If `inference.tag` is not provided in the processor definition, it is not part | ||
of the field path. The `<inference.target_field>` defaults to `inference`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably some inference configs + field name examples?
{
"tag": "foo",
...
}
Writes feature importance to field ml.inference.foo.feature_importance
.
{
"tag": "foo",
"target_field": "my_field"
}
Writes feature importance to field my_field.foo.feature_importance
.
|
||
In this case, `{feat-imp}` is exposed in the | ||
`ml.my_field.foo.feature_importance` field. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is not ml.my_field
. Its just my_field.foo.feature_importance
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@benwtrent Thanks. I also updated the schema accordingly. I.e.: <ml.inference.target_field>
.<inference.tag>
.feature_importance
instead of
ml.<inference.target_field>
.<inference.tag>
.feature_importance
This PR adds preferred field mapping and field path to feature importance in the inference processor documentation.
Preview: http://elasticsearch_54190.docs-preview.app.elstc.co/guide/en/elasticsearch/reference/master/inference-processor.html
Depends on elastic/docs#1784