All Projects → AmpersandTV → pymc3-hmm

AmpersandTV / pymc3-hmm

Licence: other
Hidden Markov models in PyMC3

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to pymc3-hmm

BayesHMM
Full Bayesian Inference for Hidden Markov Models
Stars: ✭ 35 (-56.79%)
Mutual labels:  hmm, bayesian
MultiBUGS
Multi-core BUGS for fast Bayesian inference of large hierarchical models
Stars: ✭ 28 (-65.43%)
Mutual labels:  bayesian
symbolic-pymc
Tools for the symbolic manipulation of PyMC models, Theano, and TensorFlow graphs.
Stars: ✭ 58 (-28.4%)
Mutual labels:  bayesian
ml
machine learning
Stars: ✭ 29 (-64.2%)
Mutual labels:  hmm
statistical-rethinking-solutions
Solutions of practice problems from the Richard McElreath's "Statistical Rethinking" book.
Stars: ✭ 60 (-25.93%)
Mutual labels:  bayesian
walker
Bayesian Generalized Linear Models with Time-Varying Coefficients
Stars: ✭ 38 (-53.09%)
Mutual labels:  bayesian
Intro to PyMC3
Short introduction to Bayesian statistical modelling with PyMC3
Stars: ✭ 18 (-77.78%)
Mutual labels:  pymc3
BayesianSocialScience
사회과학자를 위한 데이터과학 방법론 (코드 저장소)
Stars: ✭ 22 (-72.84%)
Mutual labels:  bayesian
ArviZ.jl
Exploratory analysis of Bayesian models with Julia
Stars: ✭ 67 (-17.28%)
Mutual labels:  bayesian
bayesian
Bindings for Bayesian TidyModels
Stars: ✭ 33 (-59.26%)
Mutual labels:  bayesian
bnp
Bayesian nonparametric models for python
Stars: ✭ 17 (-79.01%)
Mutual labels:  bayesian
xinlp
把李航老师《统计学习方法》的后几章的算法都用java实现了一遍,实现盒子与球的EM算法,扩展到去GMM训练,后来实现了HMM分词(实现了HMM分词的参数训练)和CRF分词(借用CRF++训练的参数模型),最后利用tensorFlow把BiLSTM+CRF实现了,然后为lucene包装了一个XinAnalyzer
Stars: ✭ 21 (-74.07%)
Mutual labels:  hmm
MTfit
MTfit code for Bayesian Moment Tensor Fitting
Stars: ✭ 61 (-24.69%)
Mutual labels:  bayesian
geostan
Bayesian spatial analysis
Stars: ✭ 40 (-50.62%)
Mutual labels:  bayesian
HiddenMarkovModel
Python implementation of Hidden Markov Model, with demo of Chinese Part-of-Speech tagging
Stars: ✭ 16 (-80.25%)
Mutual labels:  hmm
binary.com-interview-question
The sample question for Interview a job in Binary options
Stars: ✭ 52 (-35.8%)
Mutual labels:  bayesian
HMMBase.jl
Hidden Markov Models for Julia.
Stars: ✭ 83 (+2.47%)
Mutual labels:  hmm
go-topics
Latent Dirichlet Allocation
Stars: ✭ 23 (-71.6%)
Mutual labels:  bayesian
lifestyles
Work-In-Progress: conjoint analysis in Python
Stars: ✭ 51 (-37.04%)
Mutual labels:  pymc3
mchmm
Markov Chains and Hidden Markov Models in Python
Stars: ✭ 89 (+9.88%)
Mutual labels:  hmm

Build Status Binder

PyMC3 HMM

Hidden Markov models in PyMC3.

Features

  • Fully implemented PyMC3 Distribution classes for HMM state sequences (DiscreteMarkovChain) and mixtures that are driven by them (SwitchingProcess)
  • A forward-filtering backward-sampling (FFBS) implementation (FFBSStep) that works with NUTS—or any other PyMC3 sampler
  • A conjugate Dirichlet transition matrix sampler (TransMatConjugateStep)
  • Support for time-varying transition matrices in the FFBS sampler and all the relevant Distribution classes

To use these distributions and step methods in your PyMC3 models, simply import them from the pymc3_hmm package.

See the examples directory for demonstrations of the aforementioned features. You can also use Binder to run the examples yourself.

Installation

Currently, the package can be installed via pip directly from GitHub

$ pip install git+https://github.com/AmpersandTV/pymc3-hmm

Development

First, pull in the source from GitHub:

$ git clone git@github.com:AmpersandTV/pymc3-hmm.git

Next, you can run make conda or make venv to set up a virtual environment.

Once your virtual environment is set up, install the project, its dependencies, and the pre-commit hooks:

$ pip install -r requirements.txt
$ pre-commit install --install-hooks

After making changes, be sure to run make black in order to automatically format the code and then make check to run the linters and tests.

License

Apache License, Version 2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].