Model Explainer

Creating a ModelExplainer object will allow you to generate Explanations.

expai.ExpaiProject.get_model_explainer

This method returns a ExpaiModelExplainer that enables easy explanation generation that is documented in Generate Explanations.

expai.ExpaiProject.get_model_explainer(self, model_name: str = None, model_id: str = None)

Attribute

Description

Required

model_name

Exact name of the model to be explained.

Yes, if model_id is not provided

model_id

Unique identifier of the model to be explained.

Yes, if model_name is not provided

explainer = project.get_model_explainer(model_name="Potential model")

Last updated