Skip to content

Hierarchical divisive clustering algorithm execution, visualization and Interactive visualization.

License

Notifications You must be signed in to change notification settings

stevestavropoulos/HiPart

 
 

Repository files navigation

PyPI PyPI - Python Version example workflow codecov Codacy Badge License: MIT

HiPart: Hierarchical divisive clustering toolbox

This repository presents the HiPart package, an open-source native python library that provides efficient and interpretable implementations of divisive hierarchical clustering algorithms. HiPart supports interactive visualizations for the manipulation of the execution steps allowing the direct intervention of the clustering outcome. This package is highly suited for Big Data applications as the focus has been given to the computational efficiency of the implemented clustering methodologies. The dependencies used are either Python build-in packages or highly maintained stable external packages. The software is provided under the MIT license.

Installation

For the installation of the package, the only necessary actions and requirements are a version of Python higher or equal to 3.8 and the execution of the following command.

pip install HiPart

Simple Example Execution

The example bellow is the simplest form of the package's execution. Shortly, it shows the creation of synthetic clustering dataset containing 6 clusters. Afterwards it is clustered with the dePDDP algorithm and only the cluster labels are returned.

from HiPart.clustering import dePDDP
from sklearn.datasets import make_blobs

X, y = make_blobs(n_samples=1500, centers=6, random_state=0)

clustered_class = dePDDP(max_clusters_number=6).fit_predict(X)

Users can find complete execution examples for all the algorithms of the HiPart package in the clustering_example file of the repository. Also, the users can find a KernelPCA method usage example in the clustering_with_kpca_example file of the repository. Finally, the file interactive_visualization_example contains an example execution of the interactive visualization. The instructions for the interactive visualization GUI can be found with the execution of this visualization.

Documentation

The full documentation of the package can be found here.

Citation

@misc{anagnostou2022hipart,
  doi = {10.48550/ARXIV.2209.08680},
  url = {https://arxiv.org/abs/2209.08680},
  author = {Anagnostou, Panagiotis and Tasoulis, Sotiris and Plagianakos, Vassilis and Tasoulis, Dimitris},
  keywords = {Machine Learning (stat.ML), Artificial Intelligence (cs.AI), Machine Learning (cs.LG), FOS: Computer and information sciences, FOS: Computer and information sciences},
  title = {HiPart: Hierarchical Divisive Clustering Toolbox},
  publisher = {arXiv},
  year = {2022},
}

Acknowledgments

This project has received funding from the Hellenic Foundation for Research and Innovation (HFRI), under grant agreement No 1901.

Collaborators

Dimitris Tasoulis 📧 Panagiotis Anagnostou 📧 Sotiris Tasoulis 📧

About

Hierarchical divisive clustering algorithm execution, visualization and Interactive visualization.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.4%
  • CSS 5.6%