nihlan97 / K-Clustering

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.