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

Model without training works well? #29

Open
bqdqj opened this issue Aug 16, 2023 · 0 comments
Open

Model without training works well? #29

bqdqj opened this issue Aug 16, 2023 · 0 comments

Comments

@bqdqj
Copy link

bqdqj commented Aug 16, 2023

Out of curiosity I just tried the test mode directly on the KDD data.
I tried to modify the threshold.
It turns out that the f1 score seems to be quite high even without training.
I didn't load any pretrained model and I set the config to test mode
Does anyone know why?

Threshold for percentile (100 - 10): 14.92182731628418
Accuracy : 0.8065, Precision : 0.9339, Recall : 0.4433, F-score : 0.6013
Threshold for percentile (100 - 12): 11.708395004272461
Accuracy : 0.8364, Precision : 0.9388, Recall : 0.5378, F-score : 0.6838
Threshold for percentile (100 - 14): 8.14496498107912
Accuracy : 0.8659, Precision : 0.9419, Recall : 0.6313, F-score : 0.7559
Threshold for percentile (100 - 16): 3.5739990234374943
Accuracy : 0.8905, Precision : 0.9397, Recall : 0.7130, F-score : 0.8108
Threshold for percentile (100 - 18): 1.8419023990631087
Accuracy : 0.9084, Precision : 0.9210, Recall : 0.7894, F-score : 0.8501
Threshold for percentile (100 - 20): 1.555919885635376
Accuracy : 0.9339, Precision : 0.9169, Recall : 0.8786, F-score : 0.8974
Best Threshold : 1.555919885635376, with Accuracy : 0.9339, Precision : 0.9169, Recall : 0.8786, F-score : 0.8974

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant