コード例 #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)