Problem Description
During the transform, we add 1e-6 to the probability of choosing any component. It is not obvious why that would be the case, so it should be investigated.
Expected behavior
Either remove the following lines or explain why they are there.
|
component_prob_t = component_probs[i] + 1e-6 |
|
component_prob_t = component_prob_t / component_prob_t.sum() |