How gauravgoel1978/random_forest_network_usecase works
This is a single-file Junos DDoS detection demonstration, not a live telemetry collector: it synthesizes normal and attack telemetry, combines the samples, and trains a Random Forest. The script also contains model evaluation and visualization, including a PCA decision-boundary view, and defines example router scenarios. The excerpt does not show the complete training, evaluation, or scenario-scoring code, so those connections are marked unverified rather than presented as confirmed runtime calls.
Main entry points: junos_ddos_random_forest.py Combined Dataset
Components 9
Telemetry Data
- Normal Samples
junos_ddos_random_forest.py - Attack Samples
junos_ddos_random_forest.py - Combined Dataset
junos_ddos_random_forest.py - Router Scenarios
junos_ddos_random_forest.py
Detection Model
- Random Forest
junos_ddos_random_forest.py
Model Analysis
- Model Evaluation
junos_ddos_random_forest.py - Evaluation Plots
junos_ddos_random_forest.py - PCA Boundary
junos_ddos_random_forest.py
Other components
- Analyst
Connections 7
- Normal Samples → Combined Dataset: concatenates into
junos_ddos_random_forest.py - Attack Samples → Combined Dataset: concatenates into
junos_ddos_random_forest.py - Combined Dataset → Random Forest: trains on
junos_ddos_random_forest.py - Random Forest → Model Evaluation: evaluated by
junos_ddos_random_forest.py - Model Evaluation → Evaluation Plots: visualizes results
junos_ddos_random_forest.py - Combined Dataset → PCA Boundary: projects features
junos_ddos_random_forest.py - Analyst → Evaluation Plots: reviews