def executionTimeDisplay(self): lr = PlotDataset(None, 'Logistic Regression') lr.set_linestyle('dotted') nb = PlotDataset(None, 'Naive Bayes') nb.set_linestyle('dashed') v = [lr, nb] v.extend(Strategy.executionTimeDisplay(self)) return v
def executionTimeDisplay(self): uncertain = PlotDataset(None, 'Uncertain Queries') malicious = PlotDataset(None, 'Malicious Queries') malicious.set_linestyle('dotted') malicious.set_color(colors_tools.get_label_color(labels_tools.MALICIOUS)) benign = PlotDataset(None, 'Benign Queries') benign.set_linestyle('dashed') benign.set_color(colors_tools.get_label_color(labels_tools.BENIGN)) return [malicious, uncertain, benign]