to evaluate the target function we need all [TP,FP,FN] for all utterances in validation set for the given threshold, currentStats returns the stats for a current utterance, later on we should evaluate the target function according to whether micro-averaging or macro-averaging, the easier way to calculate them is to have a full list of [TP,FP,FN] for all utterances. If I am wrong, please correct me.