diff --git a/skglm/estimators.py b/skglm/estimators.py index ecad63a12..6da433bfd 100644 --- a/skglm/estimators.py +++ b/skglm/estimators.py @@ -314,6 +314,9 @@ class Lasso(LinearModel, RegressorMixin): tol : float, optional Stopping criterion for the optimization. + positive : bool, optional + When set to ``True``, forces the coefficient vector to be positive. + fit_intercept : bool, optional (default=True) Whether or not to fit an intercept. @@ -459,6 +462,9 @@ class WeightedLasso(LinearModel, RegressorMixin): tol : float, optional Stopping criterion for the optimization. + positive : bool, optional + When set to ``True``, forces the coefficient vector to be positive. + fit_intercept : bool, optional (default=True) Whether or not to fit an intercept. @@ -621,6 +627,9 @@ class ElasticNet(LinearModel, RegressorMixin): tol : float, optional Stopping criterion for the optimization. + positive : bool, optional + When set to ``True``, forces the coefficient vector to be positive. + fit_intercept : bool, optional (default=True) Whether or not to fit an intercept.