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