コード例 #1
0
ファイル: cwol_onlyl.py プロジェクト: ecbtln/cwol_sim
 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
ファイル: cwol_test.py プロジェクト: Frybo/msc-dissertation
 def test_validate_classifier(self):
     CWOL.validate_classifier(timeout=300, tolerance=0.05)