コード例 #1
0
 def executionTimeDisplay(self):
     uncertain = PlotDataset(None, 'Uncertain Queries')
     malicious = PlotDataset(None, 'Malicious Queries')
     malicious.setLinestyle('dotted')
     malicious.setColor(colors_tools.getLabelColor('malicious'))
     benign = PlotDataset(None, 'Benign Queries')
     benign.setLinestyle('dashed')
     benign.setColor(colors_tools.getLabelColor('benign'))
     return [malicious, uncertain, benign]
コード例 #2
0
 def executionTimeDisplay(self):
     binary_model = PlotDataset(None, 'Binary model')
     malicious = PlotDataset(None, 'Malicious Analysis')
     malicious.setLinestyle('dotted')
     malicious.setColor(colors_tools.getLabelColor('malicious'))
     benign = PlotDataset(None, 'Benign Analysis')
     benign.setLinestyle('dashed')
     benign.setColor(colors_tools.getLabelColor('benign'))
     return [binary_model, malicious, benign
             ] + QueryStrategy.executionTimeDisplay(self)
コード例 #3
0
ファイル: Aladin.py プロジェクト: r3dlight/SecuML
 def executionTimeDisplay(self):
     lr = PlotDataset(None, 'Logistic Regression')
     lr.setLinestyle('dotted')
     nb = PlotDataset(None, 'Naive Bayes')
     nb.setLinestyle('dashed')
     return [lr, nb] + QueryStrategy.executionTimeDisplay(self)