def score(self, sc):
    (x, y) = self.confidence_table
    return numpy.interp(sc, x, y, left=1.0, right=0.0)
def score(self, sc):
    (x, y) = self.confidence_table
    return numpy.interp(sc, x, y, left=1.0, right=0.0)