add readme, update DecisionTree

This commit is contained in:
2025-05-27 18:24:18 +00:00
parent cc8c27220b
commit 9d1d022721
3 changed files with 52 additions and 3 deletions

19
README.md Normal file
View File

@@ -0,0 +1,19 @@
# Setup
Run `pip install -r requirements.txt`
# Tree Generation
## Download Dataset
Download the *September 22 2016* dataset from: https://iotanalytics.unsw.edu.au/iottraces.html#bib18tmc
Rename the file as data.pcap
## Preprocessing Dataset
Run `ExtractDataset.ipynb`, this will take a few minutes
## Training
Run `DecisionTree.ipynb`, the tree should be output in `tree`