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.6.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

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

mcfa-0.1.6-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcfa-0.1.6.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.12.3 Linux/6.8.0-49-generic

File hashes

Hashes for mcfa-0.1.6.tar.gz
Algorithm Hash digest
SHA256 f3edd500039073b6429ac709600476c03601e4af5681cbe96631fffe76b72b5e
MD5 fd3c0a07d1e22db9c1fe158c700959f0
BLAKE2b-256 943189d96361e91966f2f1af211db70b90169dd267daf171dc8de5d2ee544f02

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mcfa-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 12.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.12.3 Linux/6.8.0-49-generic

File hashes

Hashes for mcfa-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 039cddd9fcd19fdb8d3172889c50df3f3ce5c3badb27969820994e9deba6fe7f
MD5 7201c4c5886fb891d3b27bc013e0569b
BLAKE2b-256 b4edf14f29ddd43a1d624ea841047c83ecc5cb6440b1011406fdb1166d834007

See more details on using hashes here.

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