@@ -18,11 +18,19 @@ in future iterations of your trained model.
18
18
19
19
You can see the average magnitude of the {feat-imp} values for each field across
20
20
all the training data in {kib} or by using the
21
- {ref}/get-inference.html[get trained model API]. For example:
21
+ {ref}/get-inference.html[get trained model API]. For example, {kib} shows the
22
+ total feature importance for each field in {regression} or binary
23
+ {classanalysis} results as follows:
22
24
23
25
[role="screenshot"]
24
26
image::images/flights-regression-total-importance.png["Total {feat-imp} values for a {regression} {dfanalytics-job} in {kib}"]
25
27
28
+ If the {classanalysis} involves more than two classes, {kib} uses colors to show
29
+ how the impact of each field varies by class. For example:
30
+
31
+ [role="screenshot"]
32
+ image::images/diamonds-classification-total-importance.png["Total {feat-imp} values for a {classification} {dfanalytics-job} in {kib}"]
33
+
26
34
You can also examine the feature importance values for each individual
27
35
prediction. In {kib}, you can see these values in JSON objects or decision plots:
28
36
@@ -41,8 +49,7 @@ value is positive, it increases the prediction value.
41
49
By default, {feat-imp} values are not calculated. To generate this information,
42
50
when you create a {dfanalytics-job} you must specify the
43
51
`num_top_feature_importance_values` property. For example, see
44
- <<flightdata-regression>>.
45
- //and <<flightdata-classification>>.
52
+ <<flightdata-regression>> and <<flightdata-classification>>.
46
53
47
54
The {feat-imp} values are stored in the {ml} results field for each document in
48
55
the destination index. The number of {feat-imp} values for each document might
0 commit comments