Skip to content

quality_metrics

Define the available quality metrics to validate the explanation quality.

Classes:

Name Description
QualityMetrics

Quality metrics object.

Sensitivity

Sensitivity object.

Infidelity

Infidelity object.

QualityMetrics #

Quality metrics object.

Sensitivity #

Sensitivity object.

Parameters:

Name Type Description Default

name #

The metric name.

required

number_of_perturbations #

int

The number of perturbations. The higher, the more accurate, byt computationally expensive.

10

Attributes:

Name Type Description
name str
number_of_perturbations int

name: str = 'sensitivity' #

number_of_perturbations: int = 10 #

Infidelity #

Infidelity object.

Parameters:

Name Type Description Default

name #

str

The metric name, default infidelity.

required

number_of_perturbations #

int

The number of perturbations. The higher, the more accurate, byt computationally expensive.

10

Attributes:

Name Type Description
name str
number_of_perturbations int

name: str = 'infidelity' #

number_of_perturbations: int = 10 #