An open API service indexing awesome lists of open source software.

https://github.com/akullpp/clusterpy

Bayesian Hidden Markov Model with Gibbs sampling
https://github.com/akullpp/clusterpy

Last synced: about 1 year ago
JSON representation

Bayesian Hidden Markov Model with Gibbs sampling

Awesome Lists containing this project

README

          

# ClusterPy

Bayesian Hidden Markov Model with Gibbs sampling

## Requirements

Python 2.7.3+

## Usage

```
./cluster.py [output file]
```

## Arguments

```
- File with sequences, one per line
[output file] - Output file
- Possible labels
- Number of sampling iterations
- Hyperparameter for transitions
- Hyperparameter for emissions
```

## Content

* bhmm.py - Gibbs sampling
* cluster.py - Entry point
* utility.py - Utility methods
* corpus.txt - toy corpus

## License

MIT