I would like to know what the right strategy is for this problem.
Consider a set of 3 unfair die. Each die is rolled for a period, and then another die is randomly chosen (with replacement). All we see is the observed sequence.
What is the approach, given a long sequence, to determine:
- The transition matrix for the 3 die
- The transition matrix for each individual die's unfair probabilities
- Which parts of the sequence correspond to which die
In addition:
- I will probably code this up as an exercise in learning HMM, so any practical pointers on either the training or inference part would be very helpful.
- If there are any Python packages that can do this out of the box, please let me know so I can verify my results.