(self, scale=0.1, rng=None)
Horseshoe Prior as it is used in spearmint

        Parameters
        ----------
        scale: float
            Scaling parameter. See below how it is influenced
            the distribution.
        rng: np.random.RandomState
            Random number generator
Horseshoe Prior as it is used in spearmint
Horseshoe Prior as it is used in spearmint
def __init__(self, scale=0.1, rng=None):
        """
        Horseshoe Prior as it is used in spearmint

        Parameters
        ----------
        scale: float
            Scaling parameter. See below how it is influenced
            the distribution.
        rng: np.random.RandomState
            Random number generator
        """
        if rng is None:
            self.rng = np.random.RandomState(np.random.randint(0, 10000))
        else:
            self.rng = rng
        self.scale = scale
def __init__ ( self , scale = 0.1 , rng = None ) : if rng is None : self . rng = np . random . RandomState ( np . random . randint ( 0 , 10000 ) ) else : self . rng = rng self . scale = scale