How amankumar-git9868/intrusion-detection-system works
This repository is a notebook-based intrusion-detection research project. Users provide ToN_IoT or NSL-KDD data and run the corresponding notebook through preprocessing, temporal-window formulation, dual-stream classification, cross-validation, and evaluation. The README documents the phase order and model architecture, but no notebook source excerpts were provided; relationships below therefore reflect documented workflow rather than inspected calls.
Main entry points: IDSMinorProject.ipynb Form time windows · IDS_NSLKDD_Validation.ipynb Ingest and scale
Components 19
ToN_IoT workflow
- ToN_IoT data
- Ingest and scale
IDSMinorProject.ipynb - SMOTE balancing
IDSMinorProject.ipynb - Select features
IDSMinorProject.ipynb - Form time windows
IDSMinorProject.ipynb
NSL-KDD validation
- NSL-KDD data
- Ingest and scale
IDS_NSLKDD_Validation.ipynb - SMOTE balancing
IDS_NSLKDD_Validation.ipynb - Select features
IDS_NSLKDD_Validation.ipynb - Form time windows
IDS_NSLKDD_Validation.ipynb
Dual-stream model
- BiLSTM stream
IDSMinorProject.ipynb - Transformer stream
IDSMinorProject.ipynb - Feature fusion
IDSMinorProject.ipynb - Classification head
IDSMinorProject.ipynb
Validation and evaluation
- Five-fold CV
IDSMinorProject.ipynb - Metrics and plots
IDSMinorProject.ipynb - Five-fold CV
IDS_NSLKDD_Validation.ipynb - Metrics and plots
IDS_NSLKDD_Validation.ipynb
Other components
- Researcher
Connections 19
- Researcher → ToN_IoT data: provides
README.md - ToN_IoT data → Ingest and scale: loads and scales
README.md - Ingest and scale → SMOTE balancing: balances classes
README.md - SMOTE balancing → Select features: selects features
README.md - Select features → Form time windows: forms windows
README.md - Researcher → NSL-KDD data: provides
README.md - NSL-KDD data → Ingest and scale: loads and scales
README.md - Ingest and scale → SMOTE balancing: balances classes
README.md - SMOTE balancing → Select features: selects features
README.md - Select features → Form time windows: forms windows
README.md - Form time windows → BiLSTM stream: analyzes sequence
README.md - Form time windows → Transformer stream: analyzes raw window
README.md - BiLSTM stream → Feature fusion: contributes context
README.md - Transformer stream → Feature fusion: contributes context
README.md - Feature fusion → Classification head: feeds classifier
README.md - Classification head → Five-fold CV: evaluated by
README.md - Five-fold CV → Metrics and plots: generates metrics
README.md - Form time windows → Five-fold CV: evaluated by
README.md - Five-fold CV → Metrics and plots: generates metrics
README.md