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.1.1.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

archetypes-0.1.1-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file archetypes-0.1.1.tar.gz.

File metadata

  • Download URL: archetypes-0.1.1.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for archetypes-0.1.1.tar.gz
Algorithm Hash digest
SHA256 61cd6bb73b4410793dd232171326add4bfd424cbfe9b63e08445cc651604acba
MD5 bdce9d199ca71df97c30a4f29b99d97d
BLAKE2b-256 2e0a48451fbe771a66de1a3359a12e43e4bde546b88154f76cc8f1b9fc69e539

See more details on using hashes here.

File details

Details for the file archetypes-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: archetypes-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for archetypes-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dce00845c9a2257be6f9f4a932cc287a74a2f2a666fe69d15dba8a2956d0f172
MD5 cad9c4682b44e05adb1e04754b90943a
BLAKE2b-256 208241cc4979b0aa1e2ff04c0686b6ffc7a522f12d1e050573cd1f3c3314d1ed

See more details on using hashes here.

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