algorithm
Figure 2: Welch algorithm to obtain the optimal threshold model.