Skip to main content

Mixture modeling algorithms using the Student's t-distribution

Reason this release was yanked:

Incorrect version number assigned

Project description

studenttmixture

Mixtures of multivariate Student's t distributions are widely used for clustering data that may contain outliers, but scipy and scikit-learn do not at present offer classes for fitting Student's t mixture models. This package provides classes for:

  1. Modeling / clustering a dataset using a finite mixture of multivariate Student's t distributions fit via the EM algorithm. This is analogous to scikit-learn's GaussianMixture.
  2. Modeling / clustering a dataset using a mixture of multivariate Student's t distributions fit via the variational mean-field approximation. This is analogous to scikit-learn's BayesianGaussianMixture.

Unittests for the package are in the tests folder.

Installation

pip install studenttmixture

Note that starting in version 0.0.2.3, this package contains C extensions and is therefore distributed as a source distribution which is automatically compiled on install.

It is unusual but problems with source distribution pip packages that contain C extensions are occasionally observed on Windows, e.g. an error similar to this:

error: Microsoft Visual C++ 14.0 is required.

in the unlikely event you encounter this, I recommend the solution described under this StackOverflow and links.

Usage

Background

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

studenttmixture-0.0.2.6.tar.gz (24.4 kB view details)

Uploaded Source

File details

Details for the file studenttmixture-0.0.2.6.tar.gz.

File metadata

  • Download URL: studenttmixture-0.0.2.6.tar.gz
  • Upload date:
  • Size: 24.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.10 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.9

File hashes

Hashes for studenttmixture-0.0.2.6.tar.gz
Algorithm Hash digest
SHA256 87f0c01232b6618542dde46a829d464320678f4e7a8e95aaa19a21c68be382ba
MD5 cac9b1601f53af78c2062ff69d895964
BLAKE2b-256 b0b21ffa903bb9a37ec7951a9a68d0054bad1ba3a572ebea76214dc36835e3a4

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