An implementation of Gaussian mixture distribution methods
Project description
Overview
gmix2 is a reimplementation of gmix that provides functions for working with univariate Gaussian Mixture distributions similar to dmixnorm of the KScorrect R package. Unlike gmix, gmix2 does not include the code and recipes for implementing conditional density implementation using neural networks. This reduces the number of external dependencies and complexity of the project considerably (e.g., no need for TensorFlow). gmix2 is entirely written in C++ (and provides python bindings), so it is also slightly faster than gmix in most cases, and considerably faster in a a few cases [1]. It also provides a few bug fixes and the plotting function has been improved.
Dependencies
C++
Python
Only python3 is supported.
Required
Needed For Plotting
Install
Note, this package is only available as a source distribution. So, you must have a working C++ compiler and the required libraries listed above installed in a location visible to CMake.
From Git:
>pip install git+https://bitbucket.org/reidswanson/gmix2.git
Or on PyPI:
>pip install gmix2
C++ Library
The base C++ code is also available as a header only library, but no additional documentation is provided for using it.
Documentation
The full documentation is available on Read the Docs.
License
Any file without a specific copyright notification is released using the Apache v2 License by me (Reid Swanson). See the LICENSE file for more details. Some code has been copied or adapted from the web (e.g., StackOverflow) that does not have clear license indications. In those cases the code is flagged with comments and links to where the code was found.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.