gmix2


Namegmix2 JSON
Version 0.3.0 PyPI version JSON
download
home_pagehttps://bitbucket.org/reidswanson/gmix2
SummaryAn implementation of Gaussian mixture distribution methods
upload_time2022-12-30 19:42:45
maintainerReid Swanson
docs_urlNone
authorReid Swanson
requires_python
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ###################
Gaussian Mixtures 2
###################

.. image:: https://bitbucket.org/reidswanson/gmix2/raw/a8393abd4c09dc00ff23f33b6fa6645ac04bdf54/docs/source/images/single-density-plot.png
    :width: 100%
    :alt: Single Mixture Density Plot

********
Overview
********
`gmix2 <https://bitbucket.org/reidswanson/gmix2>`_ is a reimplementation of `gmix <https://bitbucket.org/reidswanson/gmix/src/master/>`_ that provides functions for working with univariate `Gaussian Mixture distributions <https://brilliant.org/wiki/gaussian-mixture-model/>`_ similar to `dmixnorm <https://rdrr.io/cran/KScorrect/man/dmixnorm.html>`_ of the `KScorrect <https://rdrr.io/cran/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.

.. [1] Most of the functions in gmix were written using numpy so it was already relatively efficient.

************
Dependencies
************

C++
===

* A recent C++ compiler (gcc 9.3 is known to work)
* `CMake <https://cmake.org/>`_ >= 3.16
* Python development libraries (for Python.h)
* `Eigen3 <http://eigen.tuxfamily.org/index.php?title=Main_Page>`_

Python
======
Only python3 is supported.

**Required**

* `numpy <https://numpy.org/install/>`_

**Needed For Plotting**

* `scipy <https://www.scipy.org/install.html>`_
* `pandas <https://pandas.pydata.org/pandas-docs/stable/getting_started/install.html>`_
* `plotnine <https://plotnine.readthedocs.io/en/stable/installation.html>`_
* `pycairo <https://pycairo.readthedocs.io/en/latest/>`_ Matplotlib may complain if this is not installed separately.
* `PyQt5 <https://pypi.org/project/PyQt5/>`_ You may need to install a rending package for interactive plots.

*******
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:

.. code-block:: bash

   >pip install git+https://bitbucket.org/reidswanson/gmix2.git

Or on PyPI:

.. code-block:: bash

   >pip install gmix2

***********
C++ Library
***********
The base C++ code is also available as a `header only library <https://bitbucket.org/reidswanson/gmix2/src/master/include/gmix2/gmix.hpp>`_, but no additional documentation is provided for using it.

*************
Documentation
*************

The full documentation is available on `Read the Docs <https://gmix2.readthedocs.io/en/latest/>`_.

*******
License
*******
Any file without a specific copyright notification is released using the Apache v2 License by me (Reid Swanson).
See the `LICENSE <https://bitbucket.org/reidswanson/gmix2/src/master/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.

            

Raw data

            {
    "_id": null,
    "home_page": "https://bitbucket.org/reidswanson/gmix2",
    "name": "gmix2",
    "maintainer": "Reid Swanson",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "reid@reidswanson.com",
    "keywords": "",
    "author": "Reid Swanson",
    "author_email": "reid@reidswanson.com",
    "download_url": "https://files.pythonhosted.org/packages/90/e1/0a14fe53d7cf5b154c1d3842df31d65d154b09581bcf1e7daea2ee2ed1db/gmix2-0.3.0.tar.gz",
    "platform": null,
    "description": "###################\nGaussian Mixtures 2\n###################\n\n.. image:: https://bitbucket.org/reidswanson/gmix2/raw/a8393abd4c09dc00ff23f33b6fa6645ac04bdf54/docs/source/images/single-density-plot.png\n    :width: 100%\n    :alt: Single Mixture Density Plot\n\n********\nOverview\n********\n`gmix2 <https://bitbucket.org/reidswanson/gmix2>`_ is a reimplementation of `gmix <https://bitbucket.org/reidswanson/gmix/src/master/>`_ that provides functions for working with univariate `Gaussian Mixture distributions <https://brilliant.org/wiki/gaussian-mixture-model/>`_ similar to `dmixnorm <https://rdrr.io/cran/KScorrect/man/dmixnorm.html>`_ of the `KScorrect <https://rdrr.io/cran/KScorrect/>`_ R package.\nUnlike gmix, gmix2 does not include the code and recipes for implementing conditional density implementation using neural networks.\nThis reduces the number of external dependencies and complexity of the project considerably (e.g., no need for TensorFlow).\ngmix2 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]_.\nIt also provides a few bug fixes and the plotting function has been improved.\n\n.. [1] Most of the functions in gmix were written using numpy so it was already relatively efficient.\n\n************\nDependencies\n************\n\nC++\n===\n\n* A recent C++ compiler (gcc 9.3 is known to work)\n* `CMake <https://cmake.org/>`_ >= 3.16\n* Python development libraries (for Python.h)\n* `Eigen3 <http://eigen.tuxfamily.org/index.php?title=Main_Page>`_\n\nPython\n======\nOnly python3 is supported.\n\n**Required**\n\n* `numpy <https://numpy.org/install/>`_\n\n**Needed For Plotting**\n\n* `scipy <https://www.scipy.org/install.html>`_\n* `pandas <https://pandas.pydata.org/pandas-docs/stable/getting_started/install.html>`_\n* `plotnine <https://plotnine.readthedocs.io/en/stable/installation.html>`_\n* `pycairo <https://pycairo.readthedocs.io/en/latest/>`_ Matplotlib may complain if this is not installed separately.\n* `PyQt5 <https://pypi.org/project/PyQt5/>`_ You may need to install a rending package for interactive plots.\n\n*******\nInstall\n*******\nNote, this package is only available as a source distribution.\nSo, you must have a working C++ compiler and the required libraries listed above installed in a location visible to CMake.\n\nFrom Git:\n\n.. code-block:: bash\n\n   >pip install git+https://bitbucket.org/reidswanson/gmix2.git\n\nOr on PyPI:\n\n.. code-block:: bash\n\n   >pip install gmix2\n\n***********\nC++ Library\n***********\nThe base C++ code is also available as a `header only library <https://bitbucket.org/reidswanson/gmix2/src/master/include/gmix2/gmix.hpp>`_, but no additional documentation is provided for using it.\n\n*************\nDocumentation\n*************\n\nThe full documentation is available on `Read the Docs <https://gmix2.readthedocs.io/en/latest/>`_.\n\n*******\nLicense\n*******\nAny file without a specific copyright notification is released using the Apache v2 License by me (Reid Swanson).\nSee the `LICENSE <https://bitbucket.org/reidswanson/gmix2/src/master/LICENSE>`_ file for more details.\nSome code has been copied or adapted from the web (e.g., StackOverflow) that does not have clear license indications.\nIn those cases the code is flagged with comments and links to where the code was found.\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "An implementation of Gaussian mixture distribution methods",
    "version": "0.3.0",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "49f4ba08f8e3509f71be192d63a269dd",
                "sha256": "71b6f1ece8fb5e269aec0bb417b3d81b128657ce10f948c5928227ee0cbb3754"
            },
            "downloads": -1,
            "filename": "gmix2-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "49f4ba08f8e3509f71be192d63a269dd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 84373,
            "upload_time": "2022-12-30T19:42:45",
            "upload_time_iso_8601": "2022-12-30T19:42:45.864288Z",
            "url": "https://files.pythonhosted.org/packages/90/e1/0a14fe53d7cf5b154c1d3842df31d65d154b09581bcf1e7daea2ee2ed1db/gmix2-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-30 19:42:45",
    "github": false,
    "gitlab": false,
    "bitbucket": true,
    "bitbucket_user": "reidswanson",
    "bitbucket_project": "gmix2",
    "lcname": "gmix2"
}
        
Elapsed time: 0.02837s