def score_to_proba(self, score):
        """Compute class probability estimates from decision scores."""
        proba = numpy.zeros((score.shape[0], 2), dtype=numpy.float)
        proba[:, 1] = sigmoid_function(score, sqrt(self.n_estimators))
        proba[:, 0] = 1.0 - proba[:, 1]
        return proba
dataset/ETHPy150Open anaderi/lhcb_trigger_ml/hep_ml/supplementaryclassifiers.py/AbstractBoostingClassifier.score_to_proba/original