imblearn.utils.estimator_checks
.check_estimator¶
-
imblearn.utils.estimator_checks.
check_estimator
(Estimator, run_sampler_tests=True)[source][source]¶ Check if estimator adheres to scikit-learn conventions and imbalanced-learn
This estimator will run an extensive test-suite for input validation, shapes, etc. Additional tests samplers if the Estimator inherits from the corresponding mixin from imblearn.base
Parameters: - Estimator : class
Class to check. Estimator is a class object (not an instance)
- run_sampler_tests=True : bool, default=True
Will run or not the samplers tests.