Skip to content

hafizmrf3/HierarchicalClusteringApp

Repository files navigation

Hierarchical Clustering Desktop App

In this project, You'll need to install these python libraries in your V-Env :

  • pip install pandas
  • pip install numpy
  • pip install matplotlib
  • pip install tkinter

Running App:

I assume you've created a V-Env with Python 3.7, I named my V-Env as 'envhafizmrf3' and already to use)

  1. Change SourceCode lines 25, 51, 78, 104, and 130 for the location of the Shopping_data.csv file to your directory. Ex: 'H:/TGS_CLUSTERING/Hierarchicalmethod/shopping_data.csv' to 'D:/TGS_CLUSTERING/Hierarchicalmethod/shopping_data.csv'
  2. Open your terminal (CMD).
  3. Go to directory 'D:/TGS_CLUSTERING/Hierarchicalmethod'
  4. Enable the environment by typing the command 'envhafizmrf3\scripts\activate.bat'
  5. Running the file by typing the command 'python menumetode.py'. The desktop application will run correctly.

Exit the Environment:

  • Type 'deactivate' in your terminal.

1. Minimum Distance (Single Link)

alt_text

2. Maximum Distance (Multi Link)

alt_text

3. Mean Distance (Centroid)

alt_text

4. Average Distance (Group Average)

alt_text

5. Sum of Squares Error (Ward's Method)

alt_text