next up previous
Next: Clustering data with the Up: BernoulliMix package Previous: Learning from data with


Sampling data from the mixture model

As the model is generative in nature, it is natural to include a program to sample data from the mixture model. The command
./bmix_sample --model trained.model \
     --number-of-samples 100
samples 100 data samples from the model trained.model with the ancestral sampling scheme with the results printed on standard output.

Tapani Raiko 2008-06-02