EMTrainer minimizes or maximizes? What?
Created by: anjos
There is a bug on the initialization of the EMTrainer. The printed value is initialized with a very small number whereas it should be initialized with a very big one. Otherwise, it gives out the impression that a peak is reached and then the training continues. Example:
Bootstrapping Gaussian-Mixture Modelling with K-Means Clustering...
# EMTrainer:
# Iteration 1: -1.79769e+308 -> 1938.63
# Iteration 2: 1938.63 -> 1458.86
# Iteration 3: 1458.86 -> 986.196
To fix this, one just would have to initialize the first estimation with +Inf instead of -Inf.