Question: Question 2: [PLO K1/CLO 1/SO 1] marks] [3 In this case study, we have a dataset with all the countries in the world, their

Question 2: [PLO K1/CLO 1/SO 1] marks] [3 In this case study,

 

Question 2: [PLO K1/CLO 1/SO 1] marks] [3 In this case study, we have a dataset with all the countries in the world, their location (latitude, longitude) and the continent they belong to. Let's say we don't know the continents and we want to find them using clustering. The algorithm has to find out which are the continents based on the data about countries and their location. 1. download the dataset "countries_continents.csv" which contains the data about countries and continents 2. We want to find out how these countries can be assigned to clusters using the K-Means algorithm 3. The data now contains country names (text), which have to be converted to numbers to be able to run the clustering algorithm. We are not interested in the actual country names, and the continents can be assigned to numbers. 4. Runs the clustering algorithm using the number of clusters given as the actual number of continents in the dataset. 5. Plot and compare the results of Kmeans clustering with the actual true clustering.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To complete the task of clustering the countries based on their location and finding the continents ... View full answer

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 Programming Questions!