Implementation of the AuToMATo clustering algorithm.
Project description
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
>>> ...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file automato-0.1.1.tar.gz.
File metadata
- Download URL: automato-0.1.1.tar.gz
- Upload date:
- Size: 26.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e18a6cb922c948800a9784ec27c2cb1c48d3ee2f0fcb6397e56160879d1d362
|
|
| MD5 |
6ef275d84704dbc4ea443f254afc341f
|
|
| BLAKE2b-256 |
d0469d7c508d1657a15ce978fea7083305567d1fd3b67803323c2e689c3768b5
|
File details
Details for the file automato-0.1.1-py3-none-any.whl.
File metadata
- Download URL: automato-0.1.1-py3-none-any.whl
- Upload date:
- Size: 28.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69a9fc62fb55992cf06d164d939d17174123e081c4499b897d3a4453b479de4b
|
|
| MD5 |
9e8a533479ee8d1a3c1f5b09807d92e0
|
|
| BLAKE2b-256 |
75342c7e3dc2485dcc14c39cf2d5d18156c41e11f3bdef4ccf1b1a577bd3b824
|