sklearn.base.is_classifier — scikit-learn 0.20.4 documentation (original) (raw)
sklearn.base. is_classifier(estimator)[source]¶
Returns True if the given estimator is (probably) a classifier.
| Parameters: | estimator : object Estimator object to test. |
|---|---|
| Returns: | out : bool True if estimator is a classifier and False otherwise. |