示例#1
0
 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)
示例#2
0
 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)
示例#3
0
 def test_validate_classifier(self):
     CWOL.validate_classifier(timeout=300, tolerance=0.05)
示例#4
0
 def test_validate_classifier(self):
     CWOL.validate_classifier(timeout=300, tolerance=0.05)