Skip to content

Jakebhudson/SIT326-Task-1-HD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SIT326 Task 1 HD

Overview

Comparative evaluation of Random Forest vs. Isolation Forest on CICIDS2017 flows.

Repository structure

  • data/ # cleaned CSV
  • src/
    • preprocess.py # combines & scales raw CSVs
    • train_models.py # trains & evaluates RF and IF

Usage

# Clone
git clone https://github.com/Jakebhudson/SIT326-Task-1-HD.git
cd SIT326-Task-1-HD

# 1. Setup virtualenv
python3 -m venv .venv
source .venv/bin/activate

# 2. Install dependencies
pip install --upgrade pip setuptools wheel
pip install pandas scikit-learn python-dotenv kaggle

# 3. Prepare data
mv archive data         
python src/preprocess.py

# 4. Train & evaluate
python src/train_models.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages