CyberAttackDetection-Python is a project aimed at detecting cyber attacks using machine learning models. This repository contains code for data preprocessing, model training, evaluation, and utilities.
CyberAttackDetection-Python/
βββ .github/
β βββ workflows/
β βββ ci.yml
βββ models/
β βββ random_forest_model.pkl
β βββ simple_nn_model.pth
βββ data/
β βββ raw_data.csv
β βββ processed_data.csv
βββ notebooks/
β βββ exploratory_data_analysis.ipynb
β βββ model_training.ipynb
βββ src/
β βββ __init__.py
β βββ data_preprocessing.py
β βββ model_training.py
β βββ model_evaluation.py
β βββ utilities.py
βββ tests/
β βββ test_data_preprocessing.py
β βββ test_model_training.py
β βββ test_model_evaluation.py
βββ .gitignore
βββ .replit
βββ README.md
βββ main.py
βββ poetry.lock
βββ pyproject.toml
βββ requirements.txt
To get started with this project, follow these steps:
- Clone the repository:
git clone https://github.com/canstralian/CyberAttackDetection-Python.git
- Install the dependencies:
pip install -r requirements.txt
Run the data preprocessing script:
python src/data_preprocessing.py
Train the models:
python src/model_training.py
Evaluate the models:
python src/model_evaluation.py
Contributions are welcome! Please read the contributing guidelines for more information.
This project is licensed under the MIT License. See the LICENSE file for details.