Skip to main content

Mixtures of Common Factor Analyzers with missing data

Project description

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.

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

mcfa-0.1.5.tar.gz (13.1 kB view hashes)

Uploaded Source

Built Distribution

mcfa-0.1.5-py3-none-any.whl (13.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page