Slide 34
Slide 34 text
• ML_EXPLAIN_ROW generates explanations for one or more rows of data
• Explanations help you understand which features have the most influence on a prediction
• Feature importance is presented as a value ranging from -1 to 1
– A positive value indicates that a feature contributed toward the prediction
– A negative value indicates that the feature contributed toward a different prediction
SET @row_input = JSON_OBJECT(
"sepal_length", 7.3,
"sepal_width", 2.9,
"petal_length", 6.3,
"petal_width", 1.8
);
SELECT sys.ML_EXPLAIN_ROW(@row_input, @iris_model);
Ex: {"Prediction": "Iris-virginica", "petal_width": 1.8, "sepal_width": 2.9, "petal_length": 6.3, "sepal_length": 7.3, "petal_width_attribution": 0.2496, "petal_length_attribution": 0.9997}
Row(s) Explanation
Copyright © 2022, Oracle and/or its affiliates. All rights reserved.
35