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

Uploaded Source

Built Distribution

archetypes-0.4.2-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: archetypes-0.4.2.tar.gz
  • Upload date:
  • Size: 176.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.23.3

File hashes

Hashes for archetypes-0.4.2.tar.gz
Algorithm Hash digest
SHA256 60a323fb22e890c5bc1e62928108c585b597e18ce50d5180c07bd6d886c7d797
MD5 7b3caaf388f13d39f1ad5e7988feb01b
BLAKE2b-256 e47fc5b320d8c6d30f4055251eb825eece0a97e950dab3ae6bf445330c9af692

See more details on using hashes here.

File details

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

File metadata

  • Download URL: archetypes-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.23.3

File hashes

Hashes for archetypes-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2feb62c2772923228caf03eaabd14a01d8abd045dcae1f2b0bfd4ab5560f636e
MD5 017c885160bac66e484570b2ec7b0c35
BLAKE2b-256 8bae6b720d7e75c86d322a233a5473ab93c8cfa5a680ae5906c9752ecf0acdd0

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