This is documentation for an old release of Scikit-learn (version 0.18). Try the latest stable release (version 1.6) or development (unstable) versions.

sklearn.exceptions.EfficiencyWarning

class sklearn.exceptions.EfficiencyWarning[source]

Warning used to notify the user of inefficient computation.

This warning notifies the user that the efficiency may not be optimal due to some reason which may be included as a part of the warning message. This may be subclassed into a more specific Warning class.

New in version 0.18.