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

Uploaded Source

Built Distribution

archetypes-0.2.0-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: archetypes-0.2.0.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for archetypes-0.2.0.tar.gz
Algorithm Hash digest
SHA256 49a7315abf79646a87345c644a1095e998367d3d538c55bd2130faa6f85551e4
MD5 04bcc0ed5cbdfee870ba2396c9eee31b
BLAKE2b-256 9b42c84d60e4d66691465241df1f4eada65bb6ee6ed18b40676f0a5773a16635

See more details on using hashes here.

File details

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

File metadata

  • Download URL: archetypes-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for archetypes-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e5629996dcb998bd25e555e293bad0f4fe7e80d0dacf1b126c28a757ed7a4358
MD5 2edceb422831eb85713d673ddec23194
BLAKE2b-256 b25b158bf5cb27e976df79c36ad748bd253504b739211aa53cdf1caad871eec4

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