Question
Hi, I have Machine Learning problem (K-Means): (1) Please find a suitable number of clusters by using trial and error. (2) After deciding the number
Hi, I have Machine Learning problem (K-Means):
(1) Please find a suitable number of clusters by using trial and error. (2) After deciding the number of clusters in the data set, please calculate and show the coordinate of every cluster center.
the training_data1.txt content is as follow:
9.395197,14.917611,17.507242,12.420217,12.645283,14.885838 -13.069867,-2.466769,-5.523867,-13.317233,-2.842575,-9.134248 18.875855,18.526391,10.117712,21.748680,17.421023,23.007127 -14.369332,-4.277490,0.253778,-4.065504,-7.997036,-11.286273 7.188333,5.791530,8.698602,7.517468,7.193051,5.989517 -0.214962,4.252572,-1.888901,2.238659,3.074829,2.726725 2.084816,-3.335778,2.029665,5.783057,3.065068,-0.286279 9.803341,13.995995,23.166247,25.721243,22.682784,18.733235 -0.827197,5.505634,1.444149,1.246608,-0.003251,1.270900 3.716017,4.290262,1.071973,0.599566,4.059637,5.990819 8.241064,4.723154,5.969079,6.152156,9.529835,7.405456 6.164686,7.403551,5.055498,6.498449,6.644546,6.818021 3.598215,-1.653761,-3.003792,1.226230,0.412394,2.181622 -5.924682,-6.871338,-0.681495,-10.806554,-2.761434,-7.671255 6.361505,8.160481,7.558510,5.548770,6.652358,6.509653 25.576229,33.809283,11.804134,23.521944,18.336344,23.943459 -9.028362,-16.193056,-6.524466,-18.330916,-7.440014,-11.185957 -8.704550,-9.159364,-9.201314,-3.533642,-7.815323,-12.745946 -6.551287,-9.516555,-8.148770,-0.683384,-9.430390,-9.587808 18.251804,26.270120,22.393286,12.528996,23.977120,19.129054 -14.915043,-9.477730,-20.549555,-7.975334,-11.351129,-9.030795 15.227141,9.244709,10.492652,14.417346,10.691043,12.207376 4.500707,7.962235,7.828032,5.768125,6.890524,6.158438 9.475100,6.328651,7.773332,6.813421,7.367784,6.971020 -0.026641,1.222749,-1.043680,3.827401,-0.651026,1.077799 7.169977,8.489642,5.988339,7.735687,7.858169,7.402404 6.342661,6.797045,7.500288,6.359597,7.110617,8.760124 -13.994744,-10.488750,-9.071410,-5.309968,-6.716088,-5.205758 -7.898862,-12.462973,-13.346771,-15.928885,-17.541921,-21.638189 3.642100,1.483790,-0.012580,3.138689,0.439470,3.548857
1. Given a data set X = {x'};, x' e R, in the file named training_datal.txt, please find the cluster centers for this data set using k-means. You may not know how many clusters in the data setStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started