How to clean up network traffic capture (pcap and csv) for Anomaly detection ? #677
-
Hi All, I have been trying to feed this dataset into river and perform anomaly detection using the example here - https://riverml.xyz/latest/api/anomaly/HalfSpaceTrees/ I was able to pass the dataset into dict using this command - Below is an entry in the dataset as a dict However when i try to pass dataset into the hst model using this command for x in dataset[:3]: i encounter the error below: please how do i clean up this dataset to work with anomaly detection module in river ? The goal of the project is to build a real time DDoS attack detection system using river. Every incoming traffic will be analyzed by river anomaly module and classify it as attack or benign traffic. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Sounds like a cool project! Pretty sure you just have to pass x to learn_one. You don't need to create a nested dict like you're doing. Sorry for the poor formatting, I'm on my phone. |
Beta Was this translation helpful? Give feedback.
-
Adjust the Dataset Format |
Beta Was this translation helpful? Give feedback.
Sounds like a cool project!
Pretty sure you just have to pass x to learn_one. You don't need to create a nested dict like you're doing.
Sorry for the poor formatting, I'm on my phone.