Describe the bug
When creating a CalibratedExplainer with an unfitted model, an uncaught error occurs.
To Reproduce
Steps to reproduce the behavior:
Initialize a CalibratedExplainer without first fitting the underlying model.
The same will likely happen if a DifficultyEstimator is not fitted before being assigned.
Expected behavior
Check if fitted. If not, generate an error with a description of what caused the error.
Describe the bug When creating a
CalibratedExplainer
with an unfitted model, an uncaught error occurs.To Reproduce Steps to reproduce the behavior: Initialize a
CalibratedExplainer
without first fitting the underlying model. The same will likely happen if aDifficultyEstimator
is not fitted before being assigned.Expected behavior Check if fitted. If not, generate an error with a description of what caused the error.