Skip to content

Commit 5d3b42f

Browse files
committed
DOC Fix n_jobs documentation
You can take advantage of multiple CPUS for the different folds, not just different values of l1_ratio
1 parent d34e928 commit 5d3b42f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

sklearn/linear_model/coordinate_descent.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1264,8 +1264,7 @@ class LassoCV(LinearModelCV, RegressorMixin):
12641264
12651265
n_jobs : integer, optional
12661266
Number of CPUs to use during the cross validation. If ``-1``, use
1267-
all the CPUs. Note that this is used only if multiple values for
1268-
l1_ratio are given.
1267+
all the CPUs.
12691268
12701269
positive : bool, optional
12711270
If positive, restrict regression coefficients to be positive
@@ -1391,8 +1390,7 @@ class ElasticNetCV(LinearModelCV, RegressorMixin):
13911390
13921391
n_jobs : integer, optional
13931392
Number of CPUs to use during the cross validation. If ``-1``, use
1394-
all the CPUs. Note that this is used only if multiple values for
1395-
l1_ratio are given.
1393+
all the CPUs.
13961394
13971395
positive : bool, optional
13981396
When set to ``True``, forces the coefficients to be positive.

0 commit comments

Comments
 (0)