def is_regressor(estimator):
    return getattr(estimator, "_estimator_type", None) == "regressor"
Overload function.
dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/base.py/is_regressor--crossover with--dataset/ETHPy150Open ShadowKyogre/mikidown/mikidown/mikisearch.py/MikiSearch.linkClicked