public CompareModelsCountsGiven.SimilarityInfo jaccard_by_weak_pvalue(double pvalue) throws HashOverflowException {
CanFindThreshold canFindThresholdFirst = new FindThresholdAPE<ModelType,BackgroundType>(firstPWM, firstBackground, discretizer, null);
CanFindThreshold canFindThresholdSecond = new FindThresholdAPE<ModelType,BackgroundType>(secondPWM, secondBackground, discretizer, null);
double threshold_first = canFindThresholdFirst.weakThresholdByPvalue(pvalue).threshold;
double threshold_second = canFindThresholdSecond.weakThresholdByPvalue(pvalue).threshold;
return jaccard(threshold_first, threshold_second);
}