dualbounds.dist_reg.MonotoneLogisticReg.predict_proba

MonotoneLogisticReg.predict_proba(X: array)[source]

Probability predictions for the response.

Parameters:
X : np.array

(n,p)-shaped design matrix.

Returns:

probs – (n,2)-shaped array of probabilities where probs[i, k] = P(Y = k | X = X[i]) for k in {0,1}.

Return type:

np.array