def get_regularization(low=1, high=4):
    ' Return random regularization rate 10^-n where n is sampled uniformly\n    between low and high bounds.\n\n    Parameters\n    ----------\n    low : float\n        low bound\n    high : float\n        high bound\n\n    Returns\n    -------\n    regularization_rate : float\n        regularization rate\n    '
    return (10 ** (- np.random.uniform(low, high)))
Return random regularization rate 10^-n where n is sampled uniformly
between low and high bounds.

Parameters
----------
low : float
    low bound
high : float
    high bound

Returns
-------
regularization_rate : float
    regularization rate
def get_regularization(low=1, high=4):
    ' Return random regularization rate 10^-n where n is sampled uniformly\n    between low and high bounds.\n\n    Parameters\n    ----------\n    low : float\n        low bound\n    high : float\n        high bound\n\n    Returns\n    -------\n    regularization_rate : float\n        regularization rate\n    '
    return (10 ** (- np.random.uniform(low, high)))