Programming Homework Help

Dataset for Clustering Project

 

  • Create the dataset for clustering using the following code. Apply K-means clustering and determine the cluster centres. Generate the random text dataset and validate the performance of the implemented algorithm in terms of accuracy.

Mu1= [ 5 6];

Mu2= [ 25 10];

Mu3= [15, 20];

Sigma=2*eye (2);

N=50;

clust1=mvnrnd(Mu1, Sigma,N);

clust2=mvnrnd(Mu2,Sigma,N);

clust3=mvnrnd(Mu3,Sigma,N);

Plot the cluster points with the computed cluster centres. Implement in python or matlab