The threshold represents the probability that the prediction is true in a binary classification. It represents the tradeoff between false positives and false negatives. Kraken computes the precision and recall for hundreds of different possible thresholds from 0 to 1, then the threshold that achieves the maximum F1 score is chosen.