Skip to content

Analysis of a cities dataset with 3 algorithms: K-means, K-medoids, and Bottom-Up Hierarchical Clustering

Notifications You must be signed in to change notification settings

aeglon97/K-Clustering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

K-Clustering

Analysis of a cities dataset with 3 algorithms: K-means, K-medoids, and Bottom-Up Hierarchical Clustering

On the Linux command line, download the following packages:

  1. sudo apt-get update
  2. sudo apt-get install python3-matplotlib
  3. sudo apt-get install python3-pandas
  4. sudo apt-get install python3-numpy

Navigate to src from the current directory

Run the following files to generate the visualizations:

  1. python3 kmeans.py
  2. python3 kmedoids.py
  3. python3 hclust.py

Check the saved .png files in the visualizations directory.