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]
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)
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)