Skip to main content

Maximum likelihood estimation in multivariate probability distributions using EM algorithms

Project description

Maximum Likelihood Estimation in Multivariate Probability Distributions Using EM Algorithms

mvem is a Python package that provides maximum likelihood estimation methods for multivariate probability distributions using expectation–maximization (EM) algorithms. Additionally, it includes some functionality for fitting non-Gaussian multivariate mixture models. For fitting a wide range of univariate probability distributions, we refer to scipy.stats.

Currently included:

  • normal (mvem.stats.multivariate_norm)
  • skew normal (mvem.stats.multivariate_skewnorm)
  • Student's t (mvem.stats.multivariate_t)
  • normal-inverse Gaussian (mvem.stats.multivariate_norminvgauss)
  • generalised hyperbolic skew Student's t (mvem.stats.multivariate_genskewt)
  • generalised hyperbolic (mvem.stats.multivariate_genhyperbolic)
  • hyperbolic (mvem.stats.multivariate_hyperbolic)
  • variance-gamma (mvem.stats.multivariate_vargamma)

Multivariate mixture models currently included:

  • skew normal (mvem.mixture.skewnorm)

Where to get it

The source code is currently hosted on GitHub at: https://github.com/krisskul/mvem

Binary installers for the latest released version are available at the Python Package Index (PyPI).

pip install mvem

Quickstart

Documentation and a few introductory notebooks are hosted at readthedocs.

from mvem.stats import multivariate_norminvgauss
# assume p-variate data x
params = multivariate_norminvgauss.fit(x)

Requirements

Tested on Python 3.6

numpy
scikit-learn
scipy>=1.6.0

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

mvem-0.1.4.tar.gz (18.3 kB view details)

Uploaded Source

File details

Details for the file mvem-0.1.4.tar.gz.

File metadata

  • Download URL: mvem-0.1.4.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.13

File hashes

Hashes for mvem-0.1.4.tar.gz
Algorithm Hash digest
SHA256 05d67dc97d29df32bff02aab773d7d91b7c1964635cac8b5c036330e7b150e99
MD5 3f7ea69ba6eb00d85039e08bab257ea0
BLAKE2b-256 329d745af8388ac08646be9c479cb058661cb1f9e432626e543a9a8fb487712c

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