'Clip logistic values to range (eps, 1-eps)
Parameters
p : array-like
Probabilities
Returns
pclip : array
Clipped probabilities'

def _clean(self, p):

    return np.clip(p, FLOAT_EPS, (1.0 - FLOAT_EPS))
