@@ -670,8 +670,17 @@ 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.
673
+ n_jobs: int, default: 1 :
674
+ The maximum number of estimators fit in parallel.
675
+
676
+ - If -1 all CPUs are used.
677
+
678
+ - If 1 is given, no parallel computing code is used at all,
679
+ which is useful for debugging.
680
+
681
+ - For n_jobs below -1, (n_cpus + 1 + n_jobs) are used.
682
+
683
+ - For n_jobs = -2, all CPUs but one are used.
675
684
676
685
.. versionchanged:: 0.17
677
686
Upgraded to joblib 0.9.3.
@@ -888,8 +897,17 @@ class RandomizedSearchCV(BaseSearchCV):
888
897
fit_params : dict, optional
889
898
Parameters to pass to the fit method.
890
899
891
- n_jobs : int, default=1
892
- Number of jobs to run in parallel.
900
+ n_jobs: int, default: 1 :
901
+ The maximum number of estimators fit in parallel.
902
+
903
+ - If -1 all CPUs are used.
904
+
905
+ - If 1 is given, no parallel computing code is used at all,
906
+ which is useful for debugging.
907
+
908
+ - For n_jobs below -1, (n_cpus + 1 + n_jobs) are used.
909
+
910
+ - For n_jobs = -2, all CPUs but one are used.
893
911
894
912
pre_dispatch : int, or string, optional
895
913
Controls the number of jobs that get dispatched during parallel
0 commit comments