def _get_learning_rate_type(self, learning_rate):
        try:
            return LEARNING_RATE_TYPES[learning_rate]
        except __HOLE__:
            raise ValueError("learning rate %s "
                             "is not supported. " % learning_rate)
dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/linear_model/stochastic_gradient.py/BaseSGD._get_learning_rate_type