Skip to content

Commit 5ff34b2

Browse files
committed
DOC fix n_jobs docs in KMeans as in 0a61119.
1 parent c62238a commit 5ff34b2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

sklearn/cluster/k_means_.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -670,10 +670,9 @@ class KMeans(BaseEstimator, ClusterMixin, TransformerMixin):
670670
tol : float, default: 1e-4
671671
Relative tolerance with regards to inertia to declare convergence
672672
673-
n_jobs : int, default: 1
674-
The number of jobs to use for the computation. This works by breaking
675-
down the pairwise matrix into n_jobs even slices and computing them in
676-
parallel.
673+
n_jobs : int
674+
The number of jobs to use for the computation. This works by computing
675+
each of the n_init runs in parallel.
677676
678677
If -1 all CPUs are used. If 1 is given, no parallel computing code is
679678
used at all, which is useful for debugging. For n_jobs below -1,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy