Skip to main content

A package to conduct accelerated archetypal analysis with an iterative approach.

Project description

Iterative Archetypal Analysis (IAA)

Description

IAA is a package that provides functionalities to conduct accelerated archetypal analysis via an iterative approach.

Background

  • Archetypal analysis is an unsupervised learning technique that uses a convex polytope to summarise multivariate data.
  • The classical algorithm involves an alternating minimisation algorithm, which grows quadratically in complexity.
  • An iterative approach could be implemented to accelerate the execution of the archetypal analysis algorithm.
  • The acceleration achieved by the iterative approach is in addition to the acceleration as a result of the optimisation of other portions of the algorithm execution, as was typically done in the past.

Features

  • Implementation of an iterative approach to conduct archetypal analysis.
  • Implementation of a parallelised iterative approach to conduct archetypal analysis.
  • Utilisation of high-performance-computing cluster for parallelisation of individual archetypal analysis execution on data subsets.

Installation

Use pip or conda to install IAA:

$ pip install iaa
$ conda install -c conda-forge iaa

Usage

from iaa import ArchetypalAnalysis

X = getExampleData()  # Replace with your data
aa = ArchetypalAnalysis()
aa.fit(X)

Check out the notebooks for demonstrations of the iterative and parallel iterative approaches.

Documentation

Detailed documentations are hosted by Read the Docs.

Contributing

IAA appreciates your enthusiasm and welcomes your expertise!

Please check out the contributing guidelines and code of conduct. By contributing to this project, you agree to abide by its terms.

License

The project was created by Jonathan Yik Chang Ting. It is licensed under the terms of the MIT license.

Credits

The package was created with cookiecutter and the py-pkgs-cookiecutter template. The code is developed based on the code structure and functionalities for visualisation of the archetypes.py written by Benyamin Motevalli, who in turn developed his code based on "Archetypal Analysis" by Adele Cutler and Leo Breiman, Technometrics, November 1994, Vol.36, No.4, pp. 338-347.

Contact

Email: Jonathan.Ting@anu.edu.au/jonting97@gmail.com

Feel free to reach out if you have any questions, suggestions, or feedback.

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

iteraa-0.1.0.tar.gz (22.1 kB view details)

Uploaded Source

Built Distribution

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

iteraa-0.1.0-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: iteraa-0.1.0.tar.gz
  • Upload date:
  • Size: 22.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.9.16 Linux/4.4.0-26100-Microsoft

File hashes

Hashes for iteraa-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fa60a687d16b4a5f89e8f5db496c0f6c35ed5980d73105fd38d35ef19f0f994b
MD5 dc65ddf920ba881a82e6fca2d0ce84da
BLAKE2b-256 6030ac306b347d9613e8a7771f012a0fc882a683f0d79432af44d21f25b28133

See more details on using hashes here.

File details

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

File metadata

  • Download URL: iteraa-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 24.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.9.16 Linux/4.4.0-26100-Microsoft

File hashes

Hashes for iteraa-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5ef9f12f4d66a622974167a477fed0db2c58dd6440ec3f5eaa4f218628606045
MD5 fe650492c3b7e942adea5498400186a2
BLAKE2b-256 00f01e8a92cfc291b65fb1c93ef64347ffffa15094b794dd17fc39aebfbe3b19

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