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

Uploaded Source

Built Distribution

archetypes-0.3.0-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: archetypes-0.3.0.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.10.6 Linux/5.15.0-1019-azure

File hashes

Hashes for archetypes-0.3.0.tar.gz
Algorithm Hash digest
SHA256 e7a4ee4d4b71a442e0746d43c0d8d9871f0293812267d0a224a0b42663a032fe
MD5 971a37b96fc6a980156aea11f0456edd
BLAKE2b-256 6bed24b43676b31ec7fab513cc2c7891b123aa2103a12e1b3fc22bef574ecb7a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: archetypes-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.10.6 Linux/5.15.0-1019-azure

File hashes

Hashes for archetypes-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6ae9f61b7fe7a240dcdd7c450e41b409378eb2ec7216bb77fc309e99cf35f944
MD5 81fbba8df3a296787f7f77f28295aa89
BLAKE2b-256 b33a8e31bd4ef534f2e559b67e8579fe9423b567beac3a51384fbca209a2e279

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