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

or install the latest version from the repository

pip install git+https://github.com/aleixalcacer/archetypes.git

Usage

from archetypes import AA
import numpy as np

X = np.random.normal(0, 1, (100, 2))

aa = 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.12.1.tar.gz (322.1 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

archetypes-0.12.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (152.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

archetypes-0.12.1-cp311-cp311-win_amd64.whl (134.2 kB view details)

Uploaded CPython 3.11Windows x86-64

archetypes-0.12.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (153.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

archetypes-0.12.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (153.9 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

archetypes-0.12.1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (154.3 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

archetypes-0.12.1-cp39-cp39-macosx_15_0_arm64.whl (127.8 kB view details)

Uploaded CPython 3.9macOS 15.0+ ARM64

File details

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

File metadata

  • Download URL: archetypes-0.12.1.tar.gz
  • Upload date:
  • Size: 322.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for archetypes-0.12.1.tar.gz
Algorithm Hash digest
SHA256 0f4d972297feec6aedb457bd13e61e5b4b855066989e749e68994db0dbe0ec22
MD5 29e23bb3896b73604e5d9090d8d87af0
BLAKE2b-256 1bcf1b5699e99c81c4d20b0b4ad4c66c90cfa1c1c27c2737617f65e51877a1ef

See more details on using hashes here.

File details

Details for the file archetypes-0.12.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

  • Download URL: archetypes-0.12.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
  • Upload date:
  • Size: 152.8 kB
  • Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for archetypes-0.12.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 7e6ecc6b05f3be64b80e72ed1504b33b3a2d813c0baf29caa438f7a861443f90
MD5 47a8e73c196acefc155c454a6dfdce68
BLAKE2b-256 aa8ce9a434224b823ee2d8cd12a364c6aa898540ad5587494efe42fd461f5428

See more details on using hashes here.

File details

Details for the file archetypes-0.12.1-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: archetypes-0.12.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 134.2 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for archetypes-0.12.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2121f6e682547a90c2aead94a15ca783d509ff779b4a7acea5531ac88fee972a
MD5 3750e16521546937a772b5edd213faff
BLAKE2b-256 3ee40f48fa97de0bfd2d460bb23a603fd057d8f1d1db4ef297b7ecbc931129c1

See more details on using hashes here.

File details

Details for the file archetypes-0.12.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

  • Download URL: archetypes-0.12.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
  • Upload date:
  • Size: 153.8 kB
  • Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for archetypes-0.12.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 b0b4f624c9ea05ab890f858a88b888ada31d1c4b43bbed4a22422ead979716af
MD5 f81d294c67be7fe26dde5a7070c7fce4
BLAKE2b-256 f15cdc884679db70b82f41efcec6bc03d0034c77419f69fe585139bc1c899ace

See more details on using hashes here.

File details

Details for the file archetypes-0.12.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

  • Download URL: archetypes-0.12.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
  • Upload date:
  • Size: 153.9 kB
  • Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for archetypes-0.12.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 5cfe6480105d9c26c2ad714aa84bbd690944f31df2731e1bf63babea85c6ebd2
MD5 0b88c5946f0558a3e07db31ae103f0e2
BLAKE2b-256 015405dfe4f074d1197b5c3345b42c5f68bcd32b201c8f3d724fcb163b54a263

See more details on using hashes here.

File details

Details for the file archetypes-0.12.1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

  • Download URL: archetypes-0.12.1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
  • Upload date:
  • Size: 154.3 kB
  • Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for archetypes-0.12.1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 588ad3b473bfdcf94f5798a0b7e0a854e60bf8b930f5a7d66d9cf6a5d09177aa
MD5 936646864d412b977787c2476b170ba6
BLAKE2b-256 028539cb8f4bf0f3cda3a4e28e9efbbe6f08ecaa317e719b4d6230d394555ff8

See more details on using hashes here.

File details

Details for the file archetypes-0.12.1-cp39-cp39-macosx_15_0_arm64.whl.

File metadata

  • Download URL: archetypes-0.12.1-cp39-cp39-macosx_15_0_arm64.whl
  • Upload date:
  • Size: 127.8 kB
  • Tags: CPython 3.9, macOS 15.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for archetypes-0.12.1-cp39-cp39-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 8244278d1f5816d95715a96f59904f0702169ef45a6d301f2df23c840632028a
MD5 d369beadfcca5f00032db9acef851ba4
BLAKE2b-256 0a4041f3e7e0af4b848bd16aa9cbe2bb97fb2c064ffde91e28d44a4a045fd052

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page