def classify(cls, params, state, tolerance): threshold = 1 - tolerance if state[0][2] > threshold and state[1][3] > threshold: return 3 else: return CWOL.classify(params, state, tolerance)
def test_validate_classifier(self): CWOL.validate_classifier(timeout=300, tolerance=0.05)