Skip to main content

arXiv Code style: black

This python package implements the Mixtures of Common Factor Analyzers model introduced by Baek+ 2010. It uses tensorflow to implement a stochastic gradient descent, which allows for model training without prior imputation of missing data. The interface resembles the sklearn model API.

Documentation

Refer to the docs/documentation.ipynb for the documentation and docs/4d_gaussian.ipynb for an example application.

Install

Install from PyPi using pip:

 $ pip install mcfa

The minimum required python version is 3.8.

Alternatives

Compared to this implementation, Casey+ 2019 use an EM-algorithm instead of a stochastic gradient descent. This requires the imputation of the missing values before the model training. On the other hand, there are more initialization routines the lower space loadings and factors available in the Casey+ 2019 implementation.

Metadata

Release files for mcfa 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcfa 0.1.7
File Size Uploaded
mcfa-0.1.7.tar.gz 12.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcfa 0.1.7
File Interpreter ABI Platform
mcfa-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 25.5 kB

Release files / mcfa-0.1.7.tar.gz

Download URL mcfa-0.1.7.tar.gz
Size 12.5 kB
Tags Source
SHA-256 checksum
How to use checksums
01b3e47436e6fb0b0b58b5ebf93f3b8d756b39fd35e76ec2a651bb917fadcc8f
BLAKE2b-256 checksum
How to use checksums
9a6ea7b17a665469ff1554459c2c1c21659eb7225432a49240fdc50f32788a68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.13.13 Darwin/25.5.0

Release files / mcfa-0.1.7-py3-none-any.whl

Download URL mcfa-0.1.7-py3-none-any.whl
Size 13.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bd1345ea78268a4cfff65291aaa463ae538bcac49544c1bed64c4e51643d85c8
BLAKE2b-256 checksum
How to use checksums
be74a251244b3a8f3d4d8f84dd3aaa47794e3f450de949dffe7390478a582686
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.13.13 Darwin/25.5.0

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page