Implementation of the paper: 'Robust mixture modelling using the t-distribution', D. Peel and G. J. McLachlan. Compatible with Python 2.7 and Python 3.
- scikit-learn v0.18.1
- numpy v1.11.0
- scipy v0.19.0
- setuptools v36.0.1
Using pip (no need to clone this repo):
pip install smm --user
Manually:
git clone https://github.com/luiscarlosgph/t-Student-Mixture-Models.git cd t-Student-Mixture-Models python setup.py build python setup.py install --user
See example in src/smm/example.py.
python src/smm/example.py
To run the tests execute:
python setup.py test
Current coverage: 79%. To re-run the coverage test (Ubuntu Ubuntu 16.04.2 LTS):
python-coverage run ./setup.py test python-coverage html
Then open 'htmlcov/index.html' and check the line 'src/smm/smm'.
Luis Carlos Garcia-Peraza Herrera ([email protected]).
BSD 3-Clause License, see LICENSE file for more information.