Implementation of parallel clustering algorithms.
This project needs a few python libraries to run. Using python's virtual environment is recommended.
pip install matplotlib scikit-learn scikit-learn-extraIt is also possible that scikit-learn-extra does not work with numpy of too high version.
You can then install older numpy with:
pip install -v "numpy<2.0"First, compile required programs:
makeThen, to test clustering solutions, run the testing script:
./test.py {fl,cl} {1,2}Use the first argument to choose whether to test facility location or clustering.
The second argument specifies the cost exponent
To run unit tests:
make testAll visualizations can be generated with make:
make visualsIs is also possible to generate specific visualizations. The visualizing script is run:
./visualizer.py <input> [output](or use --help to get info about even more options)
Additionally, graphs can be separately generated from results_*.csv files:
./graphs.py