Searched refs:confidenceScore (Results 1 – 2 of 2) sorted by relevance
302 final float confidenceScore = selection.getConfidenceScore(entity); in assertValidResult() local303 assertTrue(confidenceScore >= 0); in assertValidResult()304 assertTrue(confidenceScore <= 1); in assertValidResult()317 final float confidenceScore = classification.getConfidenceScore(entity); in assertValidResult() local318 assertTrue(confidenceScore >= 0); in assertValidResult()319 assertTrue(confidenceScore <= 1); in assertValidResult()333 final float confidenceScore = link.getConfidenceScore(entityType); in assertValidResult() local334 assertTrue(confidenceScore >= 0); in assertValidResult()335 assertTrue(confidenceScore <= 1); in assertValidResult()347 final float confidenceScore = language.getConfidenceScore(locale); in assertValidResult() local[all …]
97 final float confidenceScore = 0.5f; in testTextSelection_differentParams() local101 .setEntityType(TextClassifier.TYPE_URL, confidenceScore) in testTextSelection_differentParams()109 assertEquals(confidenceScore, selection.getConfidenceScore(TextClassifier.TYPE_URL), in testTextSelection_differentParams()