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
Michael Greenacre, Jörg Blasius (2006). Multiple Correspondence Analysis and Related Methods, CRC Press. ISBN 1584886285.
François Husson, Multiple Correspondence Analysis Youtube Playlist, Youtube
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)
Release files for mca 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mca-1.0.4.tar.gz | 20.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mca-1.0.4-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 26.8 kB
Release files / mca-1.0.4.tar.gz
| Download URL | mca-1.0.4.tar.gz |
|---|---|
| Size | 20.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
12840a0b76eaf19e38bddb7435bf1bf20a3d355b834b7d79e120268a17a086dd
|
|
BLAKE2b-256 checksum How to use checksums |
99a7d6c785aeacb3c030ee16a212001e4a4fd635737bcde624021dd36d57bca2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 16, 2025.
Transparency logRelease files / mca-1.0.4-py2.py3-none-any.whl
| Download URL | mca-1.0.4-py2.py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
a9d3bc238439dcd49c9c27ffdf79c061b3e18fa7ea52e6403d66e6be27ccb9b2
|
|
BLAKE2b-256 checksum How to use checksums |
5ad761c03d27b69b5ee780bf566f5845a1de9576a4c6e3cc8dda0dd04d957b0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 16, 2025.
Transparency log