Skip to content

Latest commit

Β 

History

History
87 lines (76 loc) Β· 2.67 KB

File metadata and controls

87 lines (76 loc) Β· 2.67 KB

CyberAttackDetection-Python

πŸ”§ Build Status
πŸ“Š Coverage
πŸ“¦ Dependencies
πŸ“œ License
πŸ•’ Last Commit
πŸš€ Release
🐞 Issues

Overview

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.

Directory Structure

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

Getting Started

To get started with this project, follow these steps:

  1. Clone the repository:
    git clone https://github.com/canstralian/CyberAttackDetection-Python.git
  2. Install the dependencies:
    pip install -r requirements.txt

Usage

Data Preprocessing

Run the data preprocessing script:

python src/data_preprocessing.py

Model Training

Train the models:

python src/model_training.py

Model Evaluation

Evaluate the models:

python src/model_evaluation.py

Contributing

Contributions are welcome! Please read the contributing guidelines for more information.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgments