ScratchData LogoScratchData
Back to sureornot's profile

K-Means Clustering

SUsureornot•Created August 14, 2022
K-Means Clustering
10
6
117 views
View on Scratch

Instructions

K-Means Clustering is an unsupervised learning algorithm that is used to solve the clustering problems in machine learning or data science. Sliders to set K-value and Data points and then click the green flag to start. Algorithm: Step-1: Select the number K to decide the number of clusters. Step-2: Select random K points or centroids. (It can be other from the input dataset). Step-3: Assign each data point to their closest centroid, which will form the predefined K clusters. Step-4: Calculate the variance and place a new centroid of each cluster. tep-5: Repeat the third steps, which means reassign each datapoint to the new closest centroid of each cluster. Step-6: If any reassignment occurs, then go to step-4 else go to FINISH. Step-7: The model is ready.

Description

Project Reference: https://en.wikipedia.org/wiki/K-means_clustering https://scratch.mit.edu/projects/190300489/ Thank you cactus3

Project Details

Project ID721749841
CreatedAugust 14, 2022
Last ModifiedNovember 1, 2022
SharedNovember 1, 2022
Visibilityvisible
CommentsAllowed