stepmix
stepmix copied to clipboard
Optimization of categorical code
Current categorical model one-hot encodes integer data every time we call the E or M step in the optimisation loop. We could probably obtain a meaningful speedup if we cached the one-hot encodings.