Question: Problem Statement Find two clusters of the cloud C={(0,0),(3,0),(4,0),(0,1),(1,1),(4,1)}using Lloyd's algorithm for 2-means clustering and the points (2,2),(2,-1) as the initial centres. Requirement At end,

 Problem Statement Find two clusters of the cloud C={(0,0),(3,0),(4,0),(0,1),(1,1),(4,1)}using Lloyd's algorithm

Problem Statement Find two clusters of the cloud C={(0,0),(3,0),(4,0),(0,1),(1,1),(4,1)}using Lloyd's algorithm for 2-means clustering and the points (2,2),(2,-1) as the initial centres. Requirement At end, the algorithm should output: for the first cluster, the following points: p1 = (0,0), p4 = (0,1), p5 = (1,1). for the second cluster, the the following points: p2 = (3,0), p3 = (4,0), p6 = (4,1) Also, a graphical representation (plots on a graph) for the new clusters with their associated points. Please provide solution as a jupyter Notebook file (if possible) using python and any library of your choice

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!