예제 #1
0
 def test_at_100(self):
     threshold = threshold_at(self.scores, 1.0)
     self.assertEqual(threshold, 0.1)
예제 #2
0
 def test_at_100(self):
     threshold = threshold_at(self.scores, 1.0)
     self.assertEqual(threshold, 0.1)
예제 #3
0
 def test_at_50(self):
     threshold = threshold_at(self.scores, 0.5)
     self.assertEqual(threshold, 0.6)
예제 #4
0
 def test_at_50(self):
     threshold = threshold_at(self.scores, 0.5)
     self.assertEqual(threshold, 0.6)