https://github.com/soulyma/ai-early_detection_of_cyberattacks
AI-Early_Detection_Of_CyberAttacks_Using_MachineLearning
https://github.com/soulyma/ai-early_detection_of_cyberattacks
augmentation cybersecurity machine-learning ml python sampling-methods
Last synced: 6 months ago
JSON representation
AI-Early_Detection_Of_CyberAttacks_Using_MachineLearning
- Host: GitHub
- URL: https://github.com/soulyma/ai-early_detection_of_cyberattacks
- Owner: Soulyma
- Created: 2024-07-23T06:43:13.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-25T09:27:47.000Z (about 1 year ago)
- Last Synced: 2025-02-13T09:32:14.407Z (8 months ago)
- Topics: augmentation, cybersecurity, machine-learning, ml, python, sampling-methods
- Language: Jupyter Notebook
- Homepage:
- Size: 28.3 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AI-Early_Detection_Of_CyberAttacks
AI-Early_Detection_Of_CyberAttacks_Using_MachineLearningOur findings provide critical insights into future trends in threat mitigation and incident response strategies.
Within this repository, you'll find three Jupyter Notebook files (.ipynb). The first focuses on training a
model to predict the presence of a cyberattack. The second one deals with predicting the specific type of cyberattack.During the training process for the cyberattack type prediction model, the initial attempt yielded unsatisfactory results.
To address this, we employed the 'SMOTE' library for data augmentation. This involved applying oversampling followed by undersampling to reduce noise within the dataset.```
from imblearn.under_sampling import EditedNearestNeighbours
from imblearn.over_sampling import SMOTE
sm = SMOTE(sampling_strategy='all',n_jobs=-1,k_neighbors=3)
```