mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-25 10:28:39 +00:00
Update k_means_clust.py
This commit is contained in:
parent
50d8ef8525
commit
ea284221eb
@ -132,7 +132,7 @@ def kmeans(
|
||||
"""This function runs k-means on given data and initial set of centroids.
|
||||
maxiter: maximum number of iterations to run.(default=500)
|
||||
record_heterogeneity: (optional) a list, to store the history of heterogeneity
|
||||
as function of iterations
|
||||
as function of iterations.
|
||||
if None, do not store the history.
|
||||
verbose: if True, print how many data points changed their cluster labels in
|
||||
each iteration"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user