Skip to content

FedeNoce/Kmeans

Repository files navigation

Kmeans Implementation

alt text

About The Project

We implemented the 2D Kmeans algorithm in three different ways:

  1. A sequential mode in Python
  2. A Parallel mode in OpenMP
  3. A Parallel mode in Cuda

Built With

For more information, read the report or the presentation

Getting Started

In order to get a local copy and run some tests, follow these simple steps.

  1. Clone the repo
git clone https://github.com/FedeNoce/Kmeans.git
  1. Chose the implementation: kmeans_seq.py for sequential, Kmeans_openMp.cpp for parallel with OpenMP, 2D_kmeans_cuda.cu for parallel with CUDA.
  2. Choose the dataset and copy the file path in the code
  3. Set the parameters with your settings
  4. Run the tests
  5. Evaluate the clustering of the tests running evaluate_kmeans.py

Authors

Acknowledgments

Parallel Computing © Course held by Professor Marco Bertini - Computer Engineering Master Degree @University of Florence

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published