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.0.tar.gz
(184.1 kB
view details)
Built Distribution
File details
Details for the file archetypes-0.6.0.tar.gz
.
File metadata
- Download URL: archetypes-0.6.0.tar.gz
- Upload date:
- Size: 184.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.25.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bd34ebbddd078217195d70e41e745ed85c4c10c0d34369366b6c6ade5edcd3a |
|
MD5 | 6171e08143fc260143e6ed885965d4fc |
|
BLAKE2b-256 | 151b82484d69e923f849c0fcf41bf9f75f7823067079b4f56eae42952146b40a |
File details
Details for the file archetypes-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: archetypes-0.6.0-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 | 0fae4edea740835bb7876d8af36421a6b4c396680836043c1f2f4bb8db2237d3 |
|
MD5 | a5fe592e70747d840b9deaad3888ec65 |
|
BLAKE2b-256 | f9acdd2e24bd87417dbd2ba9393cdb225c825a92b3bfb3662d3b8fa0c5b4d09c |