We will use a Kaggle dataset that shows different socio-economic & health factors for different countries. The dataset can be downloaded at this link:
Download the file, open it and check what the different columns represent.
Write a python script that clusters the countries using KMeans. Your code shoud:
Do you notice anything interesting about how the different countries are grouped into clusters?
Repeat the clustering process for k = 3, 4 & 6.
For each value of K, show the resulting country clusters, sorted by cluster ID.
DBSCAN
for eps in range(700,1000,100):for min_samples in range(2,4,1):run DBSCAN for eps & min_samples
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here