def _clean(self, p):
    '\n        Clip logistic values to range (eps, 1-eps)\n\n        Parameters\n        ----------\n        p : array_like\n            Probabilities\n\n        Returns\n        -------\n        pclip : ndarray\n            Clipped probabilities\n        '
    return np.clip(p, FLOAT_EPS, (1.0 - FLOAT_EPS))
Clip logistic values to range (eps, 1-eps)

Parameters
----------
p : array_like
    Probabilities

Returns
-------
pclip : ndarray
    Clipped probabilities
def _clean(self, p):
    '\n        Clip logistic values to range (eps, 1-eps)\n\n        Parameters\n        ----------\n        p : array_like\n            Probabilities\n\n        Returns\n        -------\n        pclip : ndarray\n            Clipped probabilities\n        '
    return np.clip(p, FLOAT_EPS, (1.0 - FLOAT_EPS))