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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file mcfa-0.1.5.tar.gz.

File metadata

  • Download URL: mcfa-0.1.5.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.9.2 Linux/5.10.0-22-amd64

File hashes

Hashes for mcfa-0.1.5.tar.gz
Algorithm Hash digest
SHA256 7e87decd2d002ae9f73bb64cd3b1b89614439fa20d7608f924d8cc64f3805b58
MD5 e281ba051956f0a8ff1397d24823f2c4
BLAKE2b-256 eb3dfbf343da4d2864639352c7fc8aed31193fadbfdbe873d37d23f568cedf22

See more details on using hashes here.

File details

Details for the file mcfa-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: mcfa-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.9.2 Linux/5.10.0-22-amd64

File hashes

Hashes for mcfa-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 99a39612cab834ea7fba965b81802a4fc93bd074b56a1703c7125b24069253ae
MD5 4e6805e1f792b85b0bf3bad6245a6469
BLAKE2b-256 38af4ae404ee4e8924e1c687967681c20afc6435e1a98ca3e5cef17660e6cdfa

See more details on using hashes here.

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