An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# AI-Early_Detection_Of_CyberAttacks
AI-Early_Detection_Of_CyberAttacks_Using_MachineLearning

Our 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)

```