For the simplest approach, the same threshold value, θ, can be applied to all the patterns.
we assumed that each pattern has its own optimal threshold value as its own confidence score, which is different from other patterns' threshold values.