sklearn.base.is_regressor
-
sklearn.base.is_regressor(estimator)
[source] -
Return True if the given estimator is (probably) a regressor.
- Parameters
-
-
estimatorestimator instance
-
Estimator object to test.
-
- Returns
-
-
outbool
-
True if estimator is a regressor and False otherwise.
-
© 2007–2020 The scikit-learn developers
Licensed under the 3-clause BSD License.
https://scikit-learn.org/0.24/modules/generated/sklearn.base.is_regressor.html