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
BinaryDistRegobject.
Methods
fit(X, y[, solver])Fits the linear model using a cvxpy backend.
Probability predictions for the response.