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
- Host: GitHub
- URL: https://github.com/akullpp/clusterpy
- Owner: akullpp
- License: mit
- Created: 2014-03-23T12:29:53.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2017-10-16T12:43:34.000Z (over 8 years ago)
- Last Synced: 2024-05-02T05:13:16.673Z (about 2 years ago)
- Language: Python
- Size: 5.86 KB
- Stars: 5
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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