Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quesqions about pre-process part #1

Closed
bimbo80C opened this issue Dec 7, 2023 · 2 comments
Closed

Quesqions about pre-process part #1

bimbo80C opened this issue Dec 7, 2023 · 2 comments
Labels
question Further information is requested

Comments

@bimbo80C
Copy link

bimbo80C commented Dec 7, 2023

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())
...

@Jimmyokok
Copy link
Collaborator

Go to ThreaTrace and you will find these .txt ground truth files in the folder "groundtruth".

@bimbo80C
Copy link
Author

bimbo80C commented Dec 7, 2023

Thank you! I GOT IT.

@Jimmyokok Jimmyokok added the question Further information is requested label Mar 8, 2024
@Jimmyokok Jimmyokok pinned this issue Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants