def predict_proba(self, x, **kwargs):
        p = np.zeros((x.shape[0], 2))
        p[:,0] = 1 - self.constant
        p[:,1] = self.constant
        return p
dataset/ETHPy150Open kvh/ramp/ramp/estimators/base.py/ConstantClassifier.predict_proba/original