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
Load nessceary data from csv files. If you have a PCAP file, convert it to csv with Tshark or some other method.
Splice the data for nessecary features and target variable's you are seeking. (This is heavily dependent on your file layouts so double check them with print(filename.columns)
Our features are Flow size, RTT, CWND, and Average Packet Size.
Sort your file by timestamp, as it is important packets that came first are picked first.
Model
(X_train, X_test, y_train, y_test=train_test_split(X, y, test_size=0.2, shuffle=False))
This line will split your files into test and train. Shuffle = False as order matters in our case. Test_size means 20% of files will be left for test. This can be edited freely.
Note: This is not nessecary for our iterations as we define them inside.