Skip to content

m-a-huber/automato

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Implementation of the AuToMATo clustering algorithm introduced in AuToMATo: An Out-Of-The-Box Persistence-Based Clustering Algorithm.


Example of running AuToMATo

>>> from automato import Automato
>>> from sklearn.datasets import make_blobs
>>> X, y = make_blobs(centers=2, random_state=42)
>>> aut = Automato(random_state=42).fit(X)
>>> aut.n_clusters_
2
>>> (aut.labels_ == y).all()
True

Installation and requirements

AuToMATo can be installed via pip by running pip install -U automato.

Required Python dependencies are specified in pyproject.toml. Provided that uv is installed, these dependencies can be installed by running uv pip install -r pyproject.toml. The environment specified in uv.lock can be recreated by running uv sync.


Installing AuToMATo from PyPI for uv users

$ uv init
$ uv add automato
$ uv run python
>>> from automato import Automato
>>> ...

About

Implementation of the AuToMATo clustering algorithm.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages