Skip to content

Random Walk Sampler

Pre-release
Pre-release
Compare
Choose a tag to compare
@dwysocki dwysocki released this 17 Mar 21:37
· 31 commits to master since this release

I have implemented two random walk sample functions, sample-states and sample-emissions. Each take an HMM, and produce an infinite lazy seq of either states or emissions, by taking a random walk through the HMM, where each step is selected by a weighted RNG, based on the probabilities encoded in the HMM.