Ria is a bioinformatician who works in the Health sector. Ria took several PCR samples to determine the DNA abnormality
Posted: Mon Jul 11, 2022 9:50 am
Ria is a bioinformatician who works in the Health sector. Riatook several PCR samples to determine the DNA abnormality of anunknown disease. The results of the data retrieval are thenextracted and stored into “DNA.csv”. Ria's supervisor asked her tocreate a program based on the following algorithm:
Dataset:
Algorithm
1. Determine the value of k
2. Choose a centroid randomly
3. Repeat:
Expectation: Match each point with thenearest centroid
Maximization: Calculate the new centroid (mean) of eachcluster
4. Until the centroid position doesn'tchange
Note: Only libraries that can be used for this problem arenumpy, pandas, seaborn, matplotlib and scipy
Dataset:
Algorithm
1. Determine the value of k
2. Choose a centroid randomly
3. Repeat:
Expectation: Match each point with thenearest centroid
Maximization: Calculate the new centroid (mean) of eachcluster
4. Until the centroid position doesn'tchange
Note: Only libraries that can be used for this problem arenumpy, pandas, seaborn, matplotlib and scipy