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.utils.estimator_checks.check_estimator

sklearn.utils.estimator_checks.check_estimator(Estimator)[source]

Check if estimator adheres to scikit-learn conventions.

This estimator will run an extensive test-suite for input validation, shapes, etc. Additional tests for classifiers, regressors, clustering or transformers will be run if the Estimator class inherits from the corresponding mixin from sklearn.base.

Parameters:

Estimator : class

Class to check. Estimator is a class object (not an instance).