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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: archetypes-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 a472cf28f5d32639e9b8ac0baee00fb8d5fcb21f51ee4c0b5a58b96d0596625b
MD5 3f7a364cd04f372fa9d9bc7826857db9
BLAKE2b-256 46210035090208fcff7f66b3d88968c782432cd34cabdaef3964d257745d00d9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: archetypes-0.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6a72e100fe92f3afb986cd5e79c741ad02e2eba18bb8772f93af583f9a7711b9
MD5 03f0394db72befbb4fbe50f5af5eb67e
BLAKE2b-256 28775e25465bfcd69e105480140e06b55db4d446711b2e4a59cf60493ba9d734

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