File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ class ElasticNet(LinearModel, RegressorMixin):
60
60
61
61
rho : float
62
62
The ElasticNet mixing parameter, with 0 < rho <= 1. For rho = 0
63
- the penalty is an L1 penalty. For rho = 1 it is an L2 penalty.
63
+ the penalty is an L1 penalty. For rho = 1 it is an L1 penalty.
64
64
For 0 < rho < 1, the penalty is a combination of L1 and L2
65
65
66
66
fit_intercept: bool
@@ -860,7 +860,7 @@ class ElasticNetCV(LinearModelCV, RegressorMixin):
860
860
rho : float, optional
861
861
float between 0 and 1 passed to ElasticNet (scaling between
862
862
l1 and l2 penalties). For rho = 0
863
- the penalty is an L1 penalty. For rho = 1 it is an L2 penalty.
863
+ the penalty is an L1 penalty. For rho = 1 it is an L1 penalty.
864
864
For 0 < rho < 1, the penalty is a combination of L1 and L2
865
865
This parameter can be a list, in which case the different
866
866
values are tested by cross-validation and the one giving the best
@@ -1001,7 +1001,7 @@ class MultiTaskElasticNet(Lasso):
1001
1001
1002
1002
rho : float
1003
1003
The ElasticNet mixing parameter, with 0 < rho <= 1. For rho = 0
1004
- the penalty is an L1/L2 penalty. For rho = 1 it is an L2 penalty.
1004
+ the penalty is an L1/L2 penalty. For rho = 1 it is an L1 penalty.
1005
1005
For 0 < rho < 1, the penalty is a combination of L1/L2 and L2
1006
1006
1007
1007
fit_intercept : boolean
You can’t perform that action at this time.
0 commit comments