Skip to main content

Evidential Clustering

Project description

Introduction

evclust: Python library for evidential clustering

Documentation Status tests release python os



Various clustering algorithms that produce a credal partition, i.e., a set of Dempster-Shafer mass functions representing the membership of objects to clusters. The mass functions quantify the cluster-membership uncertainty of the objects.

News

  • More than 10 uncertainty-based clustering algorithms. See full list.

  • Coming soon :

    • More notebook examples
    • Belief Shift Clustering (BSC),
    • Dynamic evidential c-means clustering (DECM),
    • Deep Evidential Clustering (DEC),
    • Decision tree-based evidential clustering (DTEC),
    • Transfer learning-based evidential c-means clustering (TECM),
    • Etc ..

Informations

  • Title: Evidential Clustering
  • Version: 0.2.1 -- Date: 2024-03-10
  • Previous version:
    • 0.2 -- Date: 2024-29-11
    • 0.1.5 -- Date: 2024-07-17
    • 0.1.1 -- Date: 2023-09-01
  • License: MIT
  • Depends: Pyhton >=3.8
  • Author: Armel SOUBEIGA
  • Maintainer: armel.soubeiga@uca.fr
  • Contributors : Violaine ANTOINE

Citation

@misc{soubeiga2024,
      title={evclust: Python library for evidential clustering}, 
      author={Armel Soubeiga and Violaine Antoine},
      year={2025},
      eprint={2502.06587},
      archivePrefix={arXiv},
      primaryClass={cs.SE},
      url={https://arxiv.org/abs/2502.06587}, 
}

Installation

$ pip install evclust 

Usage

For example, ecm computes a credal partition from a matrix of attribute data using the Evidential c-means (ECM) algorithm.

# Import test data
from evclust.datasets import load_decathlon, load_iris
df = load_iris()
df.head()
df=df.drop(['species'], axis = 1)

# Evidential clustering with c=3
from evclust.ecm import ecm
model = ecm(x=df, c=3,beta = 1.1,  alpha=0.1, delta=9)

# Read the output
from evclust.utils import ev_summary, ev_pcaplot
ev_summary(model)    
ev_pcaplot(data=df, x=model, normalize=False)    

Descriptions

Evidential clustering is a modern approach in clustering algorithms that addresses uncertainty in group membership by employing the Dempster-Shafer theory. This approach yields a credal partition, represented by a tuple of mass functions, which captures the uncertain assignment of objects to clusters.

This package offers efficient algorithms for evidential clustering. The package provides functions for visualizing, evaluating, and utilizing credal partitions, allowing for a comprehensive analysis of uncertain group assignments.

evclust is referenced by The Belief Functions and Applications Society (BFAS)

evclust is also available in R by Thierry Denoeux

References

Contributing

Interested in contributing? Check out the Contributing Guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

License

evclust was created by Armel SOUBEIGA. It is licensed under the terms of the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

evclust-0.2.1.tar.gz (3.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

evclust-0.2.1-py3-none-any.whl (3.2 MB view details)

Uploaded Python 3

File details

Details for the file evclust-0.2.1.tar.gz.

File metadata

  • Download URL: evclust-0.2.1.tar.gz
  • Upload date:
  • Size: 3.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.5 Windows/10

File hashes

Hashes for evclust-0.2.1.tar.gz
Algorithm Hash digest
SHA256 6ed0f53b1187d427a6a25601cf4e4cbba214bd04453891f07d32890a2c6b4512
MD5 6065419cb16d6664804eaf9c1ab8f6e5
BLAKE2b-256 3b926701593225a1984af14a13e79efa6417733b74821ffc6f673353eaf91a9c

See more details on using hashes here.

File details

Details for the file evclust-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: evclust-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.5 Windows/10

File hashes

Hashes for evclust-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5ce45eca71bc81c5fe271eab2d96131d79b55e04271e13d54c7d69fe5cceb4f1
MD5 72000ef0c91f067ff1dc5e3e9f69909a
BLAKE2b-256 95dac7b7879bfd4e9c2f12f0291b3933b2db6b6fb86f6d0f68ef9e4a6c462358

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page