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

Uploaded Source

Built Distribution

archetypes-0.1.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: archetypes-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for archetypes-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c38027c13ef08bd81ef9a4372827b6dc292c27563536c06bcef51df1fc7f25e7
MD5 7f2ce1e2ccb823f28bc15c64b0ea45b0
BLAKE2b-256 aa543e40fc4bb08a7e7eadee3deda19959bff193cf3f1e6a88f60a5c723fa61f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: archetypes-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for archetypes-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e150389e373621b7d63501772562c312361fc2b81d46256fb64248241b0a819c
MD5 a11f4f12eb6c48bb8817486e0409a56a
BLAKE2b-256 0439ca10195b7e3e3d0ec50d0ebba6b2a50488524135d68984b9a98f30bd58d0

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