HiPart


NameHiPart JSON
Version 1.0.2 PyPI version JSON
download
home_pagehttps://github.com/panagiotisanagnostou/HiPart
SummaryA hierarchical divisive clustering toolbox
upload_time2024-02-01 18:23:42
maintainer
docs_urlNone
authorPanagiotis Anagnostou
requires_python>=3.7
licenseMIT License
keywords data structure tree tools
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![PyPI](https://img.shields.io/pypi/v/HiPart?color=blue)](https://pypi.org/project/HiPart/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/HiPart)](https://pypi.org/project/HiPart/)
[![example workflow](https://github.com/panagiotisanagnostou/HiPart/actions/workflows/python-app.yml/badge.svg)](https://github.com/panagiotisanagnostou/HiPart/blob/main/.github/workflows/python-app.yml)
[![codecov](https://codecov.io/gh/panagiotisanagnostou/HiPart/branch/main/graph/badge.svg?token=FHoZrLjqfj)](https://codecov.io/gh/panagiotisanagnostou/HiPart)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/60c751d914474e288b369461e6e3466a)](https://app.codacy.com/gh/panagiotisanagnostou/HiPart/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/panagiotisanagnostou/HiPart/blob/main/LICENSE)
[![DOI](https://joss.theoj.org/papers/10.21105/joss.05024/status.svg)](https://doi.org/10.21105/joss.05024)

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.

```bash
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.

```python
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)
```

The HiPart package offers a comprehensive suite of examples to guide users in utilizing its various algorithms. These examples are conveniently located in the repository's examples directory.

For a general understanding of the package's capabilities, users can refer to the [clustering_example](https://github.com/panagiotisanagnostou/HiPart/blob/main/examples/clustering_example.py) file. This file serves as a foundational guide, providing complete examples of the package's algorithms in action.

Additionally, for those interested in incorporating KernelPCA methods, the [clustering_with_kpca_example](https://github.com/panagiotisanagnostou/HiPart/blob/main/examples/clustering_with_kpca_example.py) file is an invaluable resource. It offers a detailed example of how to apply KernelPCA within the context of the HiPart package.

Recognizing the importance of clustering via similarity or dissimilarity matrices, such as distance matrices, the HiPart package includes the [clustering_with_distance_matrix_example](https://github.com/panagiotisanagnostou/HiPart/blob/main/examples/distance_matrix_example.py) file. This specific example demonstrates the use of the DePDDP algorithm with a distance matrix, offering a practical application scenario.

Lastly, the package features an interactive visualization component, which is exemplified in the [interactive_visualization_example](https://github.com/panagiotisanagnostou/HiPart/blob/main/examples/interactive_visualization_example.py) file. This example not only showcases the execution of the interactive visualization but also provides comprehensive instructions for navigating the visualization GUI. 

These resources collectively ensure that users of the HiPart package have a well-rounded and practical understanding of its functionalities and applications.

Documentation
-------------
The full documentation of the package can be found [here](https://hipart.readthedocs.io).

Citation
--------

```bibtex
@article{Anagnostou2023HiPart,
  title = {HiPart: Hierarchical Divisive Clustering Toolbox},
  author = {Panagiotis Anagnostou and Sotiris Tasoulis and Vassilis P. Plagianakos and Dimitris Tasoulis},
  year = {2023},
  journal = {Journal of Open Source Software},
  publisher = {The Open Journal},
  volume = {8},
  number = {84},
  pages = {5024},
  doi = {10.21105/joss.05024},
  url = {https://doi.org/10.21105/joss.05024}
} 
```

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

Collaborators
-------------
Dimitris Tasoulis [:email:](mailto:d.tasoulis@thesignalgroup.com)
Panagiotis Anagnostou [:email:](mailto:panagno@uth.gr)
Sotiris Tasoulis [:email:](mailto:stasoulis@uth.gr)
Vassilis Plagianakos [:email:](mailto:vpp@uth.gr)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/panagiotisanagnostou/HiPart",
    "name": "HiPart",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "data structure,tree,tools",
    "author": "Panagiotis Anagnostou",
    "author_email": "panagno@uth.gr",
    "download_url": "https://files.pythonhosted.org/packages/ce/37/1fd3398b5402060c60e0d9c1b20f4d086f6ec891694cfc144547500ee893/HiPart-1.0.2.tar.gz",
    "platform": null,
    "description": "[![PyPI](https://img.shields.io/pypi/v/HiPart?color=blue)](https://pypi.org/project/HiPart/)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/HiPart)](https://pypi.org/project/HiPart/)\n[![example workflow](https://github.com/panagiotisanagnostou/HiPart/actions/workflows/python-app.yml/badge.svg)](https://github.com/panagiotisanagnostou/HiPart/blob/main/.github/workflows/python-app.yml)\n[![codecov](https://codecov.io/gh/panagiotisanagnostou/HiPart/branch/main/graph/badge.svg?token=FHoZrLjqfj)](https://codecov.io/gh/panagiotisanagnostou/HiPart)\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/60c751d914474e288b369461e6e3466a)](https://app.codacy.com/gh/panagiotisanagnostou/HiPart/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/panagiotisanagnostou/HiPart/blob/main/LICENSE)\n[![DOI](https://joss.theoj.org/papers/10.21105/joss.05024/status.svg)](https://doi.org/10.21105/joss.05024)\n\nHiPart: Hierarchical divisive clustering toolbox\n================================================\nThis 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.\n\nInstallation\n------------\nFor 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.\n\n```bash\npip install HiPart\n```\n\nSimple Example Execution\n------------------------\nThe 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.\n\n```python\nfrom HiPart.clustering import DePDDP\nfrom sklearn.datasets import make_blobs\n\nX, y = make_blobs(n_samples=1500, centers=6, random_state=0)\n\nclustered_class = DePDDP(max_clusters_number=6).fit_predict(X)\n```\n\nThe HiPart package offers a comprehensive suite of examples to guide users in utilizing its various algorithms. These examples are conveniently located in the repository's examples directory.\n\nFor a general understanding of the package's capabilities, users can refer to the [clustering_example](https://github.com/panagiotisanagnostou/HiPart/blob/main/examples/clustering_example.py) file. This file serves as a foundational guide, providing complete examples of the package's algorithms in action.\n\nAdditionally, for those interested in incorporating KernelPCA methods, the [clustering_with_kpca_example](https://github.com/panagiotisanagnostou/HiPart/blob/main/examples/clustering_with_kpca_example.py) file is an invaluable resource. It offers a detailed example of how to apply KernelPCA within the context of the HiPart package.\n\nRecognizing the importance of clustering via similarity or dissimilarity matrices, such as distance matrices, the HiPart package includes the [clustering_with_distance_matrix_example](https://github.com/panagiotisanagnostou/HiPart/blob/main/examples/distance_matrix_example.py) file. This specific example demonstrates the use of the DePDDP algorithm with a distance matrix, offering a practical application scenario.\n\nLastly, the package features an interactive visualization component, which is exemplified in the [interactive_visualization_example](https://github.com/panagiotisanagnostou/HiPart/blob/main/examples/interactive_visualization_example.py) file. This example not only showcases the execution of the interactive visualization but also provides comprehensive instructions for navigating the visualization GUI. \n\nThese resources collectively ensure that users of the HiPart package have a well-rounded and practical understanding of its functionalities and applications.\n\nDocumentation\n-------------\nThe full documentation of the package can be found [here](https://hipart.readthedocs.io).\n\nCitation\n--------\n\n```bibtex\n@article{Anagnostou2023HiPart,\n  title = {HiPart: Hierarchical Divisive Clustering Toolbox},\n  author = {Panagiotis Anagnostou and Sotiris Tasoulis and Vassilis P. Plagianakos and Dimitris Tasoulis},\n  year = {2023},\n  journal = {Journal of Open Source Software},\n  publisher = {The Open Journal},\n  volume = {8},\n  number = {84},\n  pages = {5024},\n  doi = {10.21105/joss.05024},\n  url = {https://doi.org/10.21105/joss.05024}\n} \n```\n\nAcknowledgments\n---------------\nThis project has received funding from the Hellenic Foundation for Research and Innovation (HFRI), under grant agreement No 1901.\n\nCollaborators\n-------------\nDimitris Tasoulis [:email:](mailto:d.tasoulis@thesignalgroup.com)\nPanagiotis Anagnostou [:email:](mailto:panagno@uth.gr)\nSotiris Tasoulis [:email:](mailto:stasoulis@uth.gr)\nVassilis Plagianakos [:email:](mailto:vpp@uth.gr)\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "A hierarchical divisive clustering toolbox",
    "version": "1.0.2",
    "project_urls": {
        "Bug Tracker": "https://github.com/panagiotisanagnostou/HiPart/issues",
        "Documentation": "https://hipart.readthedocs.io/en/latest/",
        "Homepage": "https://github.com/panagiotisanagnostou/HiPart",
        "Source Code": "https://github.com/panagiotisanagnostou/HiPart/"
    },
    "split_keywords": [
        "data structure",
        "tree",
        "tools"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "30f482106809b35995ebfceca5dbac1ce838e38e36494a422c6aa78b482d10a4",
                "md5": "587965c59bc122e33d507eed9e0282b6",
                "sha256": "b95fb87281138ddb9acb83e50359926d8ce27c03e5f5c1c1a7d24dbbb6806539"
            },
            "downloads": -1,
            "filename": "HiPart-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "587965c59bc122e33d507eed9e0282b6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 47578,
            "upload_time": "2024-02-01T18:23:40",
            "upload_time_iso_8601": "2024-02-01T18:23:40.566531Z",
            "url": "https://files.pythonhosted.org/packages/30/f4/82106809b35995ebfceca5dbac1ce838e38e36494a422c6aa78b482d10a4/HiPart-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ce371fd3398b5402060c60e0d9c1b20f4d086f6ec891694cfc144547500ee893",
                "md5": "12f6dc9056580f1acb636e841d62322d",
                "sha256": "5e0b9df55d687eb5f3cbfe98904d39e70fe3db8004fd3b0a9766b1f8c54e57bf"
            },
            "downloads": -1,
            "filename": "HiPart-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "12f6dc9056580f1acb636e841d62322d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 47486,
            "upload_time": "2024-02-01T18:23:42",
            "upload_time_iso_8601": "2024-02-01T18:23:42.350876Z",
            "url": "https://files.pythonhosted.org/packages/ce/37/1fd3398b5402060c60e0d9c1b20f4d086f6ec891694cfc144547500ee893/HiPart-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-01 18:23:42",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "panagiotisanagnostou",
    "github_project": "HiPart",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "hipart"
}
        
Elapsed time: 0.18036s