Authors: G. Xu
Date: April 10, 2024
This project focuses on classifying network flow data into various categories using Decision Trees. It involves training and testing a Decision Tree model on network flow datasets and evaluating its performance using key metrics.
Cicflowmeter
: Processes.pcap
files into.csv
format.Dataset_kali
: Contains the dataset and the trained model specific to our dataset.Dos_attack_code
: Source code for generating DoS attack traffic.image
: Contains test result visualizations.main.py
: Main script for training and testing the Decision Tree model.train.py
: Script for training the Decision Tree model.test.py
: Script for testing the trained Decision Tree model.decision_tree_model.pkl
: Pre-trained Decision Tree model onflows_benign_and_DoS.csv
.model_our_dataset.pkl
: Pre-trained Decision Tree model ondataset_kali.csv
.flows_benign_and_DoS.csv
: CSV file containing the dataset for training the model.test.csv
: CSV file containing the dataset for testing the model.README.md
: Provides an overview of the project.
Ensure the following dependencies are installed:
- Python 3.x
- NumPy
- scikit-learn
- matplotlib
We welcome contributions! Whether you have feature suggestions or bug reports, please submit an issue or pull request to this repository.