Skip to main content

A scikit-learn compatible Python package for archetypal analysis.

Project description

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

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


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.0.5.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

archetypes-0.0.5-py3-none-any.whl (6.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page