We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The function gen_data takes the count of malicious+benign domains and adds this number of labels to the malicious labels.
The text was updated successfully, but these errors were encountered:
@asafnadler I've just checked and it seems to work okay for me. I have labels correctly assigned. Do you have not correct labels for malicious domain?
Sorry, something went wrong.
In data.py: domains += get_alexa(len(domains)) labels += ['benign']*len(domains) change to: pre_len = len(domains) domains += get_alexa(len(domains)) labels += ['benign']*pre_len
domains += get_alexa(len(domains))
labels += ['benign']*len(domains)
pre_len = len(domains)
labels += ['benign']*pre_len
Use previous domain list length to generate labels with same length, or just divide latter length by 2.
No branches or pull requests
The function gen_data takes the count of malicious+benign domains and adds this number of labels to the malicious labels.
The text was updated successfully, but these errors were encountered: