Write some code that will sample from a Dirichlet process. The code should store all previous samples
Question:
Write some code that will sample from a Dirichlet process. The code should store all previous samples and then copy previous samples or draw new samples from the base. Experiment with different base distributions and concentration parameters.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
A First Course In Machine Learning
ISBN: 9781498738484
2nd Edition
Authors: Simon Rogers , Mark Girolam
Question Posted: