k-means-clustering
ISCThis code defines a kmeans function that takes a dataset (X), the number of clusters (k), and the maximum number of iterations as input. It initializes centroids randomly, assigns data points to the nearest centroid, and updates the centroids based on the
90
Security score
0 known advisories in v0.8.7
Weekly downloads
1
Unpacked size
2.1 kB
Dependencies
2
Last publish
2 years ago
Security advisories
No known vulnerabilities affect v0.8.7.