Skip to main content

Multiple correspondence analysis with pandas

Project description

https://badge.fury.io/py/mca.png https://img.shields.io/github/actions/workflow/status/esafak/mca/test_mca.yaml

mca is a Multiple Correspondence Analysis (MCA) package for python, intended to be used with pandas. MCA is a feature extraction method; essentially PCA for categorical variables. You can use it, for example, to address multicollinearity or the curse of dimensionality with big categorical variables.

Installation

pip install --user mca

Usage

Please refer to the usage notes and this illustrated ipython notebook.

References

History

  • 1.0 (2014-06-24)

    First release. I’m sure it’s an auspicious date somewhere in the world.

  • 1.01 (2015-03-23)

    More documentation, in the form of an ipython notebook. Fixed bug #2 affecting python 2.x

  • 1.02 (2017-07-29)

    Fixed division-by-zero bug (issue #14)

  • 1.03 (2018-01-10)

    Added sparse matrix support

  • 1.04 (2025-05-15)

    Improved SVD efficiency (issue #23)

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

mca-1.0.4.tar.gz (20.5 kB view details)

Uploaded Source

Built Distribution

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

mca-1.0.4-py2.py3-none-any.whl (6.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file mca-1.0.4.tar.gz.

File metadata

  • Download URL: mca-1.0.4.tar.gz
  • Upload date:
  • Size: 20.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mca-1.0.4.tar.gz
Algorithm Hash digest
SHA256 12840a0b76eaf19e38bddb7435bf1bf20a3d355b834b7d79e120268a17a086dd
MD5 5834b7b688ad6c92c20468c381d31b6f
BLAKE2b-256 99a7d6c785aeacb3c030ee16a212001e4a4fd635737bcde624021dd36d57bca2

See more details on using hashes here.

Provenance

The following attestation bundles were made for mca-1.0.4.tar.gz:

Publisher: release_to_pypi.yaml on esafak/mca

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mca-1.0.4-py2.py3-none-any.whl.

File metadata

  • Download URL: mca-1.0.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mca-1.0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a9d3bc238439dcd49c9c27ffdf79c061b3e18fa7ea52e6403d66e6be27ccb9b2
MD5 f3100320f54449bc637f1ac41235dd1d
BLAKE2b-256 5ad761c03d27b69b5ee780bf566f5845a1de9576a4c6e3cc8dda0dd04d957b0d

See more details on using hashes here.

Provenance

The following attestation bundles were made for mca-1.0.4-py2.py3-none-any.whl:

Publisher: release_to_pypi.yaml on esafak/mca

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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