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.0.tar.gz (295.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.0-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.0-cp312-cp312-macosx_15_0_arm64.whl (127.6 kB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

archetypes-0.12.0-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.0-cp311-cp311-macosx_15_0_arm64.whl (127.1 kB view details)

Uploaded CPython 3.11macOS 15.0+ ARM64

archetypes-0.12.0-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.0-cp310-cp310-macosx_15_0_arm64.whl (127.4 kB view details)

Uploaded CPython 3.10macOS 15.0+ ARM64

archetypes-0.12.0-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.0-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.0.tar.gz.

File metadata

  • Download URL: archetypes-0.12.0.tar.gz
  • Upload date:
  • Size: 295.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","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.0.tar.gz
Algorithm Hash digest
SHA256 df021abccfd5e73b5470b418405b3d8f956b7c94c1f66a2c65a13de507948593
MD5 48ead694525abde572e06816a7a174e6
BLAKE2b-256 17f25f089a3663b4345c562f2ca854b550332292224759e7308c2a464399c213

See more details on using hashes here.

File details

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

File metadata

  • Download URL: archetypes-0.12.0-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.10 {"installer":{"name":"uv","version":"0.10.10","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.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 2b8fe156aabc73172a140d263361b88bb7a28a179169495df1864b39b693b0c8
MD5 f4cc31766525b4e01a80f8bb8084b63a
BLAKE2b-256 f9d4905e4930a343c17a1c1a5978de639aaaea2c14c510d1adb29241cefe985d

See more details on using hashes here.

File details

Details for the file archetypes-0.12.0-cp312-cp312-macosx_15_0_arm64.whl.

File metadata

  • Download URL: archetypes-0.12.0-cp312-cp312-macosx_15_0_arm64.whl
  • Upload date:
  • Size: 127.6 kB
  • Tags: CPython 3.12, macOS 15.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","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.0-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 77e5ea6f736e59963b8de3b7918434424b187dea59d4d72a5498b671fba7ce6e
MD5 4a53ee48174eab845701edd209be0427
BLAKE2b-256 960d96413ad232dd034a18d814f0b480cb9c7e8a8817815456d1443c48ec010b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: archetypes-0.12.0-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.10 {"installer":{"name":"uv","version":"0.10.10","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.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 2f75950bb47f2ffa4c8778bd7879ae614fe034fc1c8aef6ef71467d1421da166
MD5 a1f717c3dc6203a39eee0f07e81176a6
BLAKE2b-256 6da782d791e7a747e99c527b377c17993a23437622532169f830d64810b4e091

See more details on using hashes here.

File details

Details for the file archetypes-0.12.0-cp311-cp311-macosx_15_0_arm64.whl.

File metadata

  • Download URL: archetypes-0.12.0-cp311-cp311-macosx_15_0_arm64.whl
  • Upload date:
  • Size: 127.1 kB
  • Tags: CPython 3.11, macOS 15.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","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.0-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 434a546496d6f280428c2f6badcb5fff4805118f36d9b7ac3971058d84add87d
MD5 0f028a201f3f94babafec1e1df05738b
BLAKE2b-256 b8d2e2962633ec37b0c643adb4a7a79d1ddaabd5e7c90bcff1c83fee1bf30440

See more details on using hashes here.

File details

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

File metadata

  • Download URL: archetypes-0.12.0-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.10 {"installer":{"name":"uv","version":"0.10.10","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.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 bc4863783d7539d0cc8d0b05f5b0919b9a013616e820432d2cd8de113a4ba35d
MD5 ac167e484713b6b755ecdad35bc3c7da
BLAKE2b-256 275e7ab8da8a5706947fa62a7a21a9422a8012078a043e4718ce5ccafa60856d

See more details on using hashes here.

File details

Details for the file archetypes-0.12.0-cp310-cp310-macosx_15_0_arm64.whl.

File metadata

  • Download URL: archetypes-0.12.0-cp310-cp310-macosx_15_0_arm64.whl
  • Upload date:
  • Size: 127.4 kB
  • Tags: CPython 3.10, macOS 15.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","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.0-cp310-cp310-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 d0b43cc1cc2333e93d25e513cb82e86ff59c541a69045ad5ad0faf073ffa6879
MD5 4d25cb105d6d872ea2de9b6b416de04f
BLAKE2b-256 176b331db1c0655426d8337e939b63a15a9330e68ae5aa58abd07e97ba65e48d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: archetypes-0.12.0-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.10 {"installer":{"name":"uv","version":"0.10.10","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.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 808c34cae44198041129a96d5144ec128833f6941efe25952142eed814807861
MD5 e502248cfc850358882058ea28039c5d
BLAKE2b-256 37a69e56510ee41d85b44b2f2e3e1a90c8788bc180eee7d1aeeb760ad6ea061a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: archetypes-0.12.0-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.10 {"installer":{"name":"uv","version":"0.10.10","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.0-cp39-cp39-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 1cd9457407bacd21e44c6d1094a3f13374af56650ac21b18f10442ef057586b6
MD5 3663c396e1c1a751692e9880430acbe3
BLAKE2b-256 126f856016df0b61a0614e45bf3592547dc25ced977c5ffa64d4305e03af1aee

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