scikit-learn 1.2.2 Other versions
Please cite us if you use the software.
sklearn.base
is_classifier
Return True if the given estimator is (probably) a classifier.
Estimator object to test.
True if estimator is a classifier and False otherwise.