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

Uploaded Source

Built Distribution

archetypes-0.0.6-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: archetypes-0.0.6.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for archetypes-0.0.6.tar.gz
Algorithm Hash digest
SHA256 1049b4b3005b4e8ef8ab5b30faa0fb8af80e57806cec4ef948e6f05d52b0d48c
MD5 bef34d46aed35b066bd6e9e8d8435f34
BLAKE2b-256 1935d0cd59876bae1eeaadc2d88238c4cf8c2050dd366fa82b9ddadc0ac1ab73

See more details on using hashes here.

File details

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

File metadata

  • Download URL: archetypes-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for archetypes-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 6ae43fb6c8de25ed2fcf84746e701c12a237032f6c9fa00b3a596b2697e57ca9
MD5 c43c5f0635e443b51bac90984a07e72f
BLAKE2b-256 51277cd1612018ee74130ed87db59719cb68913e1117ac18ce35dfbd9b527e4a

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