Skip to main content

A package for fitting a Student's t-mixture model

Project description

Student's t-Mixture Model

A Python implementation of "Robust mixture modelling using the t distribution" (Peel & McLachlan, 2000) and extensions.

Features

  • Class StudentMixture: module for fitting a mixture of multivariate Student's t-distributions.
  • Class MultivariateT: module for using a multivariate Student's t-random variable
  • Class MultivaraiteTFit: module for fitting a multivariate Student's t-distribution.

Installation

With pip:

pip install student-mixture

From github:

git clone https://github.com/omritomer/student_mixture.git
cd student_mixture
python setup.py build
python setup.py install

Requirements

  • numpy>=1.17.3
  • scipy>=1.3.1
  • scikit-learn>=1.5.0

References

  1. Peel, D., & McLachlan, G. J. (2000). Robust mixture modelling using the t distribution. Statistics and computing, 10(4), 339-348.
  2. McLachlan, G. J., & Peel, D. (2004). Finite mixture models. John Wiley & Sons.
  3. McLachlan, G. J., & Krishnan, T. (2007). The EM algorithm and extensions (Vol. 382). John Wiley & Sons.
  4. Genz, A., & Bretz, F. (2009). Computation of multivariate normal and t probabilities (Vol. 195). Springer Science & Business Media.
  5. Genz, A. (2004). Numerical computation of rectangular bivariate and trivariate normal and t probabilities. Statistics and Computing, 14(3), 251-260.
  6. Genz, A., & Bretz, F. (1999). Numerical computation of multivariate t-probabilities with application to power calculation of multiple contrasts. Journal of Statistical Computation and Simulation, 63(4), 103-117.
  7. Genz, A., & Bretz, F. (2002). Comparison of methods for the computation of multivariate t probabilities. Journal of Computational and Graphical Statistics, 11(4), 950-971.
  8. Kotz, S., & Nadarajah, S. (2004). Multivariate t-distributions and their applications. Cambridge University Press.

Citation

If you used this package to estimate a mixture of Student's t-distributions, please cite references 1 and 2, which this package is an implementation of.

If you used this package to estimate a Student's t-distribution, please cite reference 3.

The implementations mentioned above are structurally based on scikit-learn's mixture module, so please also cite scikit-learn according to their suggested format, which can be found here.

The implementations above are structurally based on scikit-learn's mixture module, so please also cite scikit-learn according to their suggested format, which can be found here.

If you used the multivariate Student's t-distribution module, please cite reference 8. As this module is structurally based on scipy's stats.multivariate module, please also cite scipy according to their suggested format, which can be found here.

If you used the cumulative distribution function (CDF) for either a multivariate t-distribution or a Student's t-mixture model, please cite reference 4. In addition, for the following cases:

  • If your data has two or three dimensions, please cite reference 5.

  • If your data has four or more dimensions, please cite references 6 and 7.

Authors

Omri Tomer (omritomer1990@gmail.com)

License

This package is distributed under the BSD 3-Clause License. See the LICENSE file for information.

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

student_mixture-0.2.0.tar.gz (28.1 kB view details)

Uploaded Source

Built Distribution

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

student_mixture-0.2.0-py2.py3-none-any.whl (34.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file student_mixture-0.2.0.tar.gz.

File metadata

  • Download URL: student_mixture-0.2.0.tar.gz
  • Upload date:
  • Size: 28.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.9

File hashes

Hashes for student_mixture-0.2.0.tar.gz
Algorithm Hash digest
SHA256 9a497db54610caed42f438e1e7b7eb64ddf104a5b3f7e56a4c864c06c8d77c8b
MD5 812061378521ed74edc465de0f1ba318
BLAKE2b-256 ec6cfb6103c4c698e71d2e18002d27fa05be55d0a5ee01b2686985973c279182

See more details on using hashes here.

File details

Details for the file student_mixture-0.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for student_mixture-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f237a43b6bf3cd7dd6cf053551d1b73bd02aa772c10178bf0346bccb0e5b94ee
MD5 c883f31abb76c9f2f8b767f64d092748
BLAKE2b-256 6ac090606e7b47de70df4fc115f7541e3d65651d669ab3e782c0bf7faff5f9bc

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