After you're done training the model, you can either access the complete explainability dashboard or access individual techniques.
Complete Explainability Dashboard
To access the entire dashboard with all the explainability techniques under one roof, follow the code down below. It is great for sharing your work with your peers and managers in an interactive and easy to understand way.
5.1. Pass your model and dataset into the explainX function:
5.2. Click on the dashboard link to start exploring model behavior:
1
App running on https://0.0.0.0:8080
Copied!
Explainability Modules
In this latest release, we have also given the option to use explainability techniques individually. This will allow the user to choose technique that fits their personal AI use case.
6.1. Pass your model, X_Data and Y_Data into the explainx_modules function.
1
explainx_modules.ai(X_test, Y_test, model)
Copied!
As an upgrade, we have eliminated the need to pass in the model name as explainX is smart enough to identify the model type and problem type i.e. classification or regression, by itself.