You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[GroundTruthParser] Extracting ground truth labels from: /xxxxxxxxxx/zeek_labeled/http.log.labeled
[GroundTruthParser] Number of parsed flows: 25920
[GroundTruthParser] Number of parsed flows: 26100
[GroundTruthParser] Number of parsed flows: 26280
[GroundTruthParser] Number of parsed flows: 26460
[Main] Total flows read by parsers:
['type_', 'count']
('suricata', 26507)
('slips', 7986)
('ground_truth', 26624)
[Main] Done. For labels db check: output/2023-08-25-09:31:58/
Traceback (most recent call last):
File "/xxxxxxxxxx/IDPS-Comparison-Tool/./main.py", line 122, in
calc.get_confusion_matrix('slips')
File "/xxxxxxxxxx/IDPS-Comparison-Tool/metrics/calculator.py", line 66, in get_confusion_matrix
tp = cm[1, 1]
IndexError: index 1 is out of bounds for axis 0 with size 1
To Reproduce
See private message
Expected behaviour
not failing
The text was updated successfully, but these errors were encountered:
Describe the bug
[GroundTruthParser] Extracting ground truth labels from: /xxxxxxxxxx/zeek_labeled/http.log.labeled
[GroundTruthParser] Number of parsed flows: 25920
[GroundTruthParser] Number of parsed flows: 26100
[GroundTruthParser] Number of parsed flows: 26280
[GroundTruthParser] Number of parsed flows: 26460
[Main] Total flows read by parsers:
['type_', 'count']
('suricata', 26507)
('slips', 7986)
('ground_truth', 26624)
[Main] Done. For labels db check: output/2023-08-25-09:31:58/
Traceback (most recent call last):
File "/xxxxxxxxxx/IDPS-Comparison-Tool/./main.py", line 122, in
calc.get_confusion_matrix('slips')
File "/xxxxxxxxxx/IDPS-Comparison-Tool/metrics/calculator.py", line 66, in get_confusion_matrix
tp = cm[1, 1]
IndexError: index 1 is out of bounds for axis 0 with size 1
To Reproduce
See private message
Expected behaviour
not failing
The text was updated successfully, but these errors were encountered: