File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -670,9 +670,20 @@ class GridSearchCV(BaseSearchCV):
670
670
fit_params : dict, optional
671
671
Parameters to pass to the fit method.
672
672
673
- n_jobs : int, default=1
674
- Number of jobs to run in parallel.
675
-
673
+ n_jobs: int, default: 1 :
674
+ The maximum number of concurrently running jobs, such as the number of
675
+ Python worker processes when backend=”multiprocessing” or the size of
676
+ the thread-pool when backend=”threading”.
677
+
678
+ - If -1 all CPUs are used.
679
+
680
+ - If 1 is given, no parallel computing code is used at all,
681
+ which is useful for debugging.
682
+
683
+ - For n_jobs below -1, (n_cpus + 1 + n_jobs) are used.
684
+
685
+ - For n_jobs = -2, all CPUs but one are used.
686
+
676
687
.. versionchanged:: 0.17
677
688
Upgraded to joblib 0.9.3.
678
689
You can’t perform that action at this time.
0 commit comments