Skip to main content

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.

Metadata

Release files for evclust 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for evclust 0.2.1
File Size Uploaded
evclust-0.2.1.tar.gz 3.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for evclust 0.2.1
File Interpreter ABI Platform
evclust-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.4 MB

Release files / evclust-0.2.1.tar.gz

Download URL evclust-0.2.1.tar.gz
Size 3.2 MB
Tags Source
SHA-256 checksum
How to use checksums
6ed0f53b1187d427a6a25601cf4e4cbba214bd04453891f07d32890a2c6b4512
BLAKE2b-256 checksum
How to use checksums
3b926701593225a1984af14a13e79efa6417733b74821ffc6f673353eaf91a9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.11.5 Windows/10

Release files / evclust-0.2.1-py3-none-any.whl

Download URL evclust-0.2.1-py3-none-any.whl
Size 3.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
5ce45eca71bc81c5fe271eab2d96131d79b55e04271e13d54c7d69fe5cceb4f1
BLAKE2b-256 checksum
How to use checksums
95dac7b7879bfd4e9c2f12f0291b3933b2db6b6fb86f6d0f68ef9e4a6c462358
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.11.5 Windows/10

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2

2 release files

0.1.5

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page