probs-0.3.1 doesn't have any documentation.
probs
Provide definition of domain and basic distribution. Implement various sampler with Iterator.
Basic Usage
Construct a sampler of certain sampling technique
use Global;
Sample a distribution with it
.sample
Use it like an Iterator as you would
.enumerate
.for_each
}
Arbitrary Distribution
ANY customized distribution can be sampled with provided samplers
new
.sample
Multi-dimensional
Gibbs Sampler is used to sample distribution on high dimension
- Fix-dimensioned domain is represented with ndarray
new
.gibbs // 2x2 domain; skip first 100 samples
.sample