Skip to content

aleixalcacer/archetypes

Archetypes

PyPI PyPI - Python Version Python package PyPI - License Contributor Covenant

archetypes is a scikit-learn compatible Python package for archetypal analysis.

Installation

Use the package manager pip to install archetypes

pip install archetypes

or install the latest version from the repository

pip install git+https://github.com/aleixalcacer/archetypes.git

Usage

from archetypes import AA
import numpy as np

X = np.random.normal(0, 1, (100, 2))

aa = 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.

About

Scikit-learn compatible package for archetypal analysis.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published