A scikit-learn compatible Python package for archetypal analysis
Project description
Archetypes
archetypes is a scikit-learn compatible Python package for archetypal analysis.
Installation
Use the package manager pip to install archetypes.
pip install archetypes
Usage
import archetypes as arch
import numpy as np
X = np.random.normal(0, 1, (100, 2))
aa = arch.AA(n_archetypes=4)
X_trans = aa.fit_transform(X)
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
Distributed under the BSD 3-Clause License. See LICENSE for more information.
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
archetypes-0.6.1.tar.gz
(184.2 kB
view details)
Built Distribution
File details
Details for the file archetypes-0.6.1.tar.gz
.
File metadata
- Download URL: archetypes-0.6.1.tar.gz
- Upload date:
- Size: 184.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.25.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a6a02b055700d2feaa55bb38dc29067da81663bdf6054d3d898352f33774929 |
|
MD5 | 6e29184c9a7c494988245b419cd7bcb4 |
|
BLAKE2b-256 | 12c3bd7254df2775f005725c9860a1133de956ff67d301bf615e4bb58b95a137 |
File details
Details for the file archetypes-0.6.1-py3-none-any.whl
.
File metadata
- Download URL: archetypes-0.6.1-py3-none-any.whl
- Upload date:
- Size: 24.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.25.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26593df63de27fc44f84a1f6969f16c593109f94b5ea7b38e11194b0b9169220 |
|
MD5 | cc84abfa1452e1a4892f3f3a4c65500d |
|
BLAKE2b-256 | 918c135d7de89e45811d8295d0bdd57afcb39bbc4d34d83b1a50fb18e3dcc6aa |