scikit-learn v0.20.0 Other versions
Please cite us if you use the software.
sklearn.base
sklearn.base.
is_regressor
Returns True if the given estimator is (probably) a regressor.
estimator : object
Estimator object to test.
out : bool
True if estimator is a regressor and False otherwise.