Skip to content

Commit

Permalink
Clearer docstring for n_jobs (#469)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcAntoineSchmidtQC committed Oct 15, 2021
1 parent 5a2f7c7 commit 4bda95d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/glum/_glm_cv.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,11 @@ class GeneralizedLinearRegressorCV(GeneralizedLinearRegressorBase):
For integer/``None`` inputs, :class:`KFold` is used
n_jobs : int, optional (default=None)
Number of CPUs to use during cross validation. ``None`` means ``1``
unless in a :obj:`joblib.parallel_backend` context. ``-1`` means using
all processors.
The maximum number of concurrently running jobs. The number of jobs that
are needed is ``len(l1_ratio)`` x ``n_folds``. ``-1`` is the same as the
number of CPU on your machine. ``None`` means ``1`` unless in a
:obj:`joblib.parallel_backend` context.
Attributes
----------
Expand Down

0 comments on commit 4bda95d

Please sign in to comment.