16 std::vector<float>& inputFeatures,
double decisionThreshProb)
const {
18 if (!((0. <= decisionThreshProb) && (decisionThreshProb <= 1.))) {
19 throw std::invalid_argument(
20 "predictTrackLabel: Decision threshold "
21 "probability is not in [0, 1].");
27 float outputProbability = outputTensor[0];
31 if (outputProbability > decisionThreshProb) {
32 return TrackLabels::eDuplicate;
34 return TrackLabels::eGood;
39 double decisionThreshProb)
const {
43 return predictedLabel == Acts::MLTrackClassifier::TrackLabels::eDuplicate;