cesar 1 week ago
parent
commit
665f93d35d
6 changed files with 3 additions and 3 deletions
  1. BIN
      paper/fig2.png
  2. BIN
      paper/fig3.png
  3. BIN
      paper/fig4.png
  4. BIN
      paper/fig5.png
  5. 1
    1
      plotFscore.py
  6. 2
    2
      v3.py

BIN
paper/fig2.png View File


BIN
paper/fig3.png View File


BIN
paper/fig4.png View File


BIN
paper/fig5.png View File


+ 1
- 1
plotFscore.py View File

45
         if col==0:
45
         if col==0:
46
             axes[row][col].set_ylabel("FScore")
46
             axes[row][col].set_ylabel("FScore")
47
         if row==1:
47
         if row==1:
48
-            axes[row][col].set_xlabel("Threshold Factor ($TF$)")
48
+            axes[row][col].set_xlabel("Threshold Factor ($tf$)")
49
         axes[row][col].grid()
49
         axes[row][col].grid()
50
         axes[row][col].set_title('$ns=$'+str(tsToPlot[ind]))
50
         axes[row][col].set_title('$ns=$'+str(tsToPlot[ind]))
51
 axes[0][0].legend(loc='lower right')
51
 axes[0][0].legend(loc='lower right')

+ 2
- 2
v3.py View File

249
     for k in FS.keys():
249
     for k in FS.keys():
250
         ar=np.array((FS[k]))
250
         ar=np.array((FS[k]))
251
         axes.plot(ar[:,0],ar[:,1],label="$ns=$"+str(k),linewidth=3)
251
         axes.plot(ar[:,0],ar[:,1],label="$ns=$"+str(k),linewidth=3)
252
-    axes.set_xlabel("Threshold factor ($TF$)")
252
+    axes.set_xlabel("Threshold factor ($tf$)")
253
     axes.set_ylabel("FScore")
253
     axes.set_ylabel("FScore")
254
     axes.legend()
254
     axes.legend()
255
     axes.grid()
255
     axes.grid()
492
 anomalyMetric(threshold[int(options.timesteps)]*float(options.TF), int(options.timesteps),datalist)
492
 anomalyMetric(threshold[int(options.timesteps)]*float(options.TF), int(options.timesteps),datalist)
493
 
493
 
494
 
494
 
495
-#plotData3()
495
+plotData3()
496
 
496
 
497
 
497
 
498
 def plotData5():
498
 def plotData5():

Powered by TurnKey Linux.