cesar 4 days ago
parent
commit
222b022e30
2 changed files with 2 additions and 3 deletions
  1. BIN
      paper/Adapt25_Paper_Template_updated_AKO_v1.docx
  2. 2
    3
      v5_class.py

BIN
paper/Adapt25_Paper_Template_updated_AKO_v1.docx View File


+ 2
- 3
v5_class.py View File

465
     print("F1-Score: ",F1)
465
     print("F1-Score: ",F1)
466
 
466
 
467
 anomalyMetric(classes,testRanges,testClasses)
467
 anomalyMetric(classes,testRanges,testClasses)
468
-plotData4()
469
-exit(0)
470
 # Compute delay until correct detection for a list of ranges (when transition data exists)
468
 # Compute delay until correct detection for a list of ranges (when transition data exists)
471
 def computeDelay(l,classes,testRanges,testClasses):
469
 def computeDelay(l,classes,testRanges,testClasses):
472
     d=np.zeros(len(l))
470
     d=np.zeros(len(l))
489
     return(d.mean())
487
     return(d.mean())
490
 
488
 
491
 d=computeDelay([2,3,4],classes,testRanges,testClasses)
489
 d=computeDelay([2,3,4],classes,testRanges,testClasses)
490
+print("Delay: ",d)
492
 
491
 
493
-
492
+plotData4()

Powered by TurnKey Linux.