could u explain what the variable "malicious_entity" in "trace_parser.py" represent? (as following,if I take trace as dataset parameter, what should trace.txt be?)
def read_graphs(dataset):
malicious_entities = '../data/{}/{}.txt'.format(dataset, dataset)
f = open(malicious_entities, 'r')
malicious_entities = set()
for l in f.readlines():
malicious_entities.add(l.lstrip().rstrip())
...
could u explain what the variable "malicious_entity" in "trace_parser.py" represent? (as following,if I take trace as dataset parameter, what should trace.txt be?) def read_graphs(dataset): malicious_entities = '../data/{}/{}.txt'.format(dataset, dataset) f = open(malicious_entities, 'r') malicious_entities = set() for l in f.readlines(): malicious_entities.add(l.lstrip().rstrip()) ...