Model Explainability
Analyze the importance of each input field to your model's predictions using model explainability. Create a Workflow Classification model that includes a graphical analysis of feature importance by executing the provided script.
Before you begin
- This method uses the Workflow Classification Solution API, instead of the Solution Definition form, to create and train a model with explainability added. For information about the components of Workflow Classification models, see Create and train a classification solution.
- Role required: ml_admin or admin
About this task
Model explainability helps identify the key features that influence the model's predictions during training.
The script provided in the procedure creates and trains a model with explainability set to true. On the new model's solution form, an additional tab labeled Feature Importance appears. This tab offers a graph of
the relative contribution of each input to the prediction.
Procedure
Result
A positive importance value means that the input field increases the model's prediction score. A negative value means that the input field decreases the prediction score.
What to do next
Consider dropping input fields with low importance scores. Retrain your model after modification.