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.2.tar.gz (322.2 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.2-cp312-cp312-win_amd64.whl (133.3 kB view details)

Uploaded CPython 3.12Windows x86-64

archetypes-0.12.2-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.2-cp312-cp312-macosx_15_0_arm64.whl (127.6 kB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11macOS 15.0+ ARM64

archetypes-0.12.2-cp310-cp310-win_amd64.whl (134.3 kB view details)

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10macOS 15.0+ ARM64

archetypes-0.12.2-cp39-cp39-win_amd64.whl (134.6 kB view details)

Uploaded CPython 3.9Windows x86-64

archetypes-0.12.2-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.2-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.2.tar.gz.

File metadata

  • Download URL: archetypes-0.12.2.tar.gz
  • Upload date:
  • Size: 322.2 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.2.tar.gz
Algorithm Hash digest
SHA256 1b601f021082251529404451e695cd3c9c6d06817661bf2def1237f2f8094ff0
MD5 5d5a3587fe32797c65448373e4c1d85f
BLAKE2b-256 7e9f7e558e62d8ea3a7bee3674baf2c479332ece2e54111fb7b787f0e555e83e

See more details on using hashes here.

File details

Details for the file archetypes-0.12.2-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: archetypes-0.12.2-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 133.3 kB
  • Tags: CPython 3.12, 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.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ab3b0c67324f541e1a303c25758a580dd0926670c629d4e6ded850f86020c80f
MD5 c51b459e29d4bf130a69eb643f802e25
BLAKE2b-256 dbf2c472b0e9ef342039e4052f13f476eac6b62299a6ffbe39550f927c200366

See more details on using hashes here.

File details

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

File metadata

  • Download URL: archetypes-0.12.2-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.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 60701eb128a0108280eda8d1acf945ce180cc4fcd4c5526b51609ae98da36d54
MD5 39d5a0b57fd1a34e5bc9d56471e85cc2
BLAKE2b-256 f16166d64391acd0f6bf1dc74d69ac3a9be20ff0f06566f64ac914d1bdd443c5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: archetypes-0.12.2-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.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.2-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 05e7b9a1b5aa3c556377c6b7eaae2c25208a9cdfb9ec31d64c7576fb31f4ebfa
MD5 9ab125e18e339e36acdac35b1cf61135
BLAKE2b-256 9f943fecb1024d736cdbee828904478bf4b7b823465497029d894b9e82d933f9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: archetypes-0.12.2-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.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ff80bd343102f33fd0010a21d7104d018e815c20f9fb73d6ec45cf9741700ca0
MD5 a8394e8589b607368bd16a7689ba1637
BLAKE2b-256 f454a7aeb400b882df2d2438c2bdc0dbf5850a8a638c856af30f78e3a8294b1d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: archetypes-0.12.2-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.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 9b40e8743ba423672945fb70a38ace158cf60a03a463a44738694860af333726
MD5 c87e67b0c2a3163a297935c9ce92e34b
BLAKE2b-256 161702088f3ac0735ef25878021e8be59b068ffe46bb4298dc8de269d2824c43

See more details on using hashes here.

File details

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

File metadata

  • Download URL: archetypes-0.12.2-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.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.2-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 c46135a720d169c599f610cd20d327696d139cde1975eca3a9655b410e2dc57c
MD5 314a458dad4ad6f6bd18529e6a0cd46f
BLAKE2b-256 e5c743e55264e5980c4d0f7b3239354fe83b806633477dc31977c3d7d887add0

See more details on using hashes here.

File details

Details for the file archetypes-0.12.2-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: archetypes-0.12.2-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 134.3 kB
  • Tags: CPython 3.10, 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.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 088d4a1d319746cdd3735917343a3f25c365d75bd6da4f2a1081a30f1d0da638
MD5 d59901854f3f4de9e0eb319a5cac4aea
BLAKE2b-256 36fc11525e5e7a414fbcaa6880671eb4adadec65a1585ee37db19691673588b7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: archetypes-0.12.2-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.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 15bfb285a74cacf6a7b316cfd9cf4bec69bb258519a078ae5c5c1b513d0e560f
MD5 ad9b110208ffa258959aa1fe91e68676
BLAKE2b-256 804c2c3efee25b1b9f2cba4fb17266f180640c5b2c6f60dd1661ab38f0218881

See more details on using hashes here.

File details

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

File metadata

  • Download URL: archetypes-0.12.2-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.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.2-cp310-cp310-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 ac950c7c47e78a51eee42caa5c975ffb39e0749534fb1582c2192fb5bbed55da
MD5 328d9dce35901fb07bd3d18bd46a01a6
BLAKE2b-256 6df0ed4fa474c0df96aaf0580f937f0aa8579c15eb3c515a677cb5274543af6d

See more details on using hashes here.

File details

Details for the file archetypes-0.12.2-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: archetypes-0.12.2-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 134.6 kB
  • Tags: CPython 3.9, 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.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 dead6b3cbdcf2c01a2b9d5f7ffd4bc6f8c8dc9bceedc8a4fe70a76f3174b397a
MD5 80939d3ee448199b43b76e16e250aed7
BLAKE2b-256 b6a5b0498c0a1a208197aa85a2c5366dc5a05055f012fce6cef23c0fbe4ef808

See more details on using hashes here.

File details

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

File metadata

  • Download URL: archetypes-0.12.2-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.2-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 f64feb797f531100fbf80714c1009fdaded6f72fe72d0723f016f52dc4d6126a
MD5 9fb9e06c5299d56a5a1f1b024e0d9653
BLAKE2b-256 6cd395ee1f062a13b3421450120002c6155baed4a0f3ae5dfd839bb2d452cc35

See more details on using hashes here.

File details

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

File metadata

  • Download URL: archetypes-0.12.2-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.2-cp39-cp39-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 bdbaf9f6f6165c10277f333ad52b62f6e003ccdfe90ced7d7b9ff7e6a1534759
MD5 e15971b9c025377a3ca32d0180022812
BLAKE2b-256 5b3ad7980d1a472c0280353cd1d15f8b7e1de54e900f794c5b1431c7557cc780

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