Variational Bayes algorithm for normal inverse Gaussian mixture models
Project description
Variational Bayes algorithm for Normal Inverse Gaussian Mixture Models
Demonstration
The results of the sample simulation data can be checked by the following procedure:
poetry run jupyter lab
# open example.ipynb in jupyter environment
Installation
The package can be build using poetry and installed using pip:
poetry build
pip install dist/vbnigmm-2.0.0-py3-none-any.whl
Examples
If you want to apply vbnigmm to your data, you can run the following code:
from vbnigmm import NormalInverseGaussMixture as Model
# x is numpy.ndarray of 2D
model = Model()
model.fit(x)
label = model.predict(x)
Citation
If you use vbnigmm in a scientific paper, please consider citing the following paper:
Takashi Takekawa, Clustering of non-Gaussian data by variational Bayes for normal inverse Gaussian mixture models. arXiv preprint arXiv:2009.06002 (2020).
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
Built Distribution
File details
Details for the file vbnigmm-2.2.0.tar.gz
.
File metadata
- Download URL: vbnigmm-2.2.0.tar.gz
- Upload date:
- Size: 24.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.10 CPython/3.9.1 Darwin/20.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6c2b26dd1c6a7479864a1749f805a5413b48e87403da4e18dfd41a7e4110fe1 |
|
MD5 | 16ab6aa96bfc7d9cb84c09e0960136a0 |
|
BLAKE2b-256 | 19354ae9facf913b53011c0eb5fe2d4b306d43c30d40b6b1cb46d3dfa397abb3 |
File details
Details for the file vbnigmm-2.2.0-py3-none-any.whl
.
File metadata
- Download URL: vbnigmm-2.2.0-py3-none-any.whl
- Upload date:
- Size: 31.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.10 CPython/3.9.1 Darwin/20.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f6756384804700f4981f8da5d9d145ac2e4bf637b7270dd9933f28bf9f149a5 |
|
MD5 | 98fc9c6c24aa09c8ff0602985b155eee |
|
BLAKE2b-256 | a0a6fe53e4ab63202c962c92cb4162bf8161285f0f9ac0f87c6506af13d8edab |