dualbounds.dist_reg.MonotoneLogisticReg

class dualbounds.dist_reg.MonotoneLogisticReg(lmda: float = 0.001)[source]

A logistic regression solver which ensures that beta[0] >= 0. Useful for computing bounds which assume monotonicity.

Notes

This is meant to be used a the underlying model in a

BinaryDistReg object.

Methods

fit(X, y[, solver])

Fits the linear model using a cvxpy backend.

predict_proba(X)

Probability predictions for the response.