sktime.exceptions

exception sktime.exceptions.FitFailedWarning[source]

Bases: RuntimeWarning

Warning class used if there is an error while fitting the estimator. This Warning is used in meta estimators GridSearchCV and RandomizedSearchCV and the cross-validation helper function cross_val_score to warn when there is an error while fitting the estimator.

FitFailedWarning(‘Estimator fit failed. The score on this train-test partition for these parameters will be set to 0.000000.

References

..[1] Based on scikit-learn’s FitFailedWarning

exception sktime.exceptions.NotEvaluatedError[source]

Bases: ValueError, AttributeError

Exception class to raise if evaluator is used before having evaluated any metric.

exception sktime.exceptions.NotFittedError[source]

Bases: ValueError, AttributeError

Exception class to raise if estimator is used before fitting. This class inherits from both ValueError and AttributeError to help with exception handling and backward compatibility.

References

..[1] Based on scikit-learn’s NotFittedError