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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: archetypes-0.0.5.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for archetypes-0.0.5.tar.gz
Algorithm Hash digest
SHA256 3218cfe09fcefa8ddec028fa8d2048bb0291a20d0b2566ed2d763f462e4d1d0d
MD5 1a588d33f8dd217a502a36956185d3f8
BLAKE2b-256 05522ac04ea51df5f99dd899c53074eb0076db080e78bd9adaa921407e463bc2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: archetypes-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for archetypes-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 bef238c3aaf8b28d28e6047d25b2693f83c42b58e1dcddc8ce7caa393451a894
MD5 e62e91efba3427c62ad52f2f1a06cbd9
BLAKE2b-256 b3af2e720b8accb5f38dba20c0cbac467a05bbe7d5aea3e94da639e6786f98dd

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