def score_to_proba(self, score):
        proba = np.empty((score.shape[0], 2), dtype=np.float64)
        proba[:, 1] = expit(score / self.n_estimators)
        proba[:, 0] = 1.0 - proba[:, 1]
        return proba
Compute class probability estimates from decision scores.
dataset/ETHPy150Open anaderi/lhcb_trigger_ml/hep_ml/uboost.py/uBoostBDT.score_to_proba