sklearn.base.is_regressor¶
- sklearn.base.is_regressor(estimator)¶
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.