Exemple #1
0
 def executionTimeDisplay(self):
     lr = PlotDataset(None, 'Logistic Regression')
     lr.setLinestyle('dotted')
     nb = PlotDataset(None, 'Naive Bayes')
     nb.setLinestyle('dashed')
     v = [lr, nb]
     v.extend(QueryStrategy.executionTimeDisplay(self))
     return v
Exemple #2
0
 def executionTimeDisplay(self):
     uncertain = PlotDataset(None, 'Uncertain Queries')
     malicious = PlotDataset(None, 'Malicious Queries')
     malicious.setLinestyle('dotted')
     malicious.setColor(colors_tools.getLabelColor(labels_tools.MALICIOUS))
     benign = PlotDataset(None, 'Benign Queries')
     benign.setLinestyle('dashed')
     benign.setColor(colors_tools.getLabelColor(labels_tools.BENIGN))
     return [malicious, uncertain, benign]