Skip to content

Commit

Permalink
docs: minor fix in related class
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-reimann committed Apr 28, 2023
1 parent 31c36a3 commit 8a01930
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/safeds/ml/classical/regression/_elastic_net_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,9 @@ class ElasticNetRegression(Regressor):
----------
alpha : float
Controls the regularization of the model. The higher the value, the more regularized it becomes.
lasso_ratio: float
Number between 0 and 1 that controls the ratio between Lasso- and Ridge regularization.
lasso_ratio=0 is essentially RidgeRegression
lasso_ratio=1 is essentially LassoRegression
Number between 0 and 1 that controls the ratio between Lasso and Ridge regularization. If 0, only Ridge
regularization is used. If 1, only Lasso regularization is used.
Raises
------
Expand Down

0 comments on commit 8a01930

Please sign in to comment.