@@ -176,8 +176,15 @@ def mean_shift(
176
176
operation terminates (for that seed point), if has not converged yet.
177
177
178
178
n_jobs : int, default=None
179
- The number of jobs to use for the computation. This works by computing
180
- each of the n_init runs in parallel.
179
+ The number of jobs to use for the computation. The following tasks benefit
180
+ from the parallelization:
181
+
182
+ - The search of nearest neighbors for bandwidth estimation and label
183
+ assignments. See the details in the docstring of the
184
+ ``NearestNeighbors`` class.
185
+ - Hill-climbing optimization for all seeds.
186
+
187
+ See :term:`Glossary <n_jobs>` for more details.
181
188
182
189
``None`` means 1 unless in a :obj:`joblib.parallel_backend` context.
183
190
``-1`` means using all processors. See :term:`Glossary <n_jobs>`
@@ -312,8 +319,15 @@ class MeanShift(ClusterMixin, BaseEstimator):
312
319
If false, then orphans are given cluster label -1.
313
320
314
321
n_jobs : int, default=None
315
- The number of jobs to use for the computation. This works by computing
316
- each of the n_init runs in parallel.
322
+ The number of jobs to use for the computation. The following tasks benefit
323
+ from the parallelization:
324
+
325
+ - The search of nearest neighbors for bandwidth estimation and label
326
+ assignments. See the details in the docstring of the
327
+ ``NearestNeighbors`` class.
328
+ - Hill-climbing optimization for all seeds.
329
+
330
+ See :term:`Glossary <n_jobs>` for more details.
317
331
318
332
``None`` means 1 unless in a :obj:`joblib.parallel_backend` context.
319
333
``-1`` means using all processors. See :term:`Glossary <n_jobs>`
0 commit comments