sklearn.exceptions#

Custom warnings and errors used across scikit-learn.

ConvergenceWarning

Custom warning to capture convergence problems

DataConversionWarning

Warning used to notify implicit data conversions happening in the code.

DataDimensionalityWarning

Custom warning to notify potential issues with data dimensionality.

EfficiencyWarning

Warning used to notify the user of inefficient computation.

FitFailedWarning

Warning class used if there is an error while fitting the estimator.

InconsistentVersionWarning

Warning raised when an estimator is unpickled with a inconsistent version.

NotFittedError

Exception class to raise if estimator is used before fitting.

UndefinedMetricWarning

Warning used when the metric is invalid

EstimatorCheckFailedWarning

Warning raised when an estimator check from the common tests fails.