Skip to content

Commit

Permalink
added docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
PABannier committed Oct 30, 2022
1 parent ae55f66 commit 20937bf
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions skglm/estimators.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 20937bf

Please sign in to comment.