Alaudeen commited on
Commit
ef9c91b
Β·
verified Β·
1 Parent(s): 678772b

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +14 -5
README.md CHANGED
@@ -1,7 +1,14 @@
1
  ---
2
- tags:
3
- - ml-intern
 
 
 
 
 
 
4
  ---
 
5
  # πŸ›‘οΈ Network Intrusion Detection System (NIDS)
6
 
7
  Real-time network intrusion detection using ML & Deep Learning models trained on the NSL-KDD dataset.
@@ -17,7 +24,7 @@ Real-time network intrusion detection using ML & Deep Learning models trained on
17
  ## Dataset
18
  [NSL-KDD](https://huggingface.co/datasets/Mireu-Lab/NSL-KDD) β€” 185K records, 41 features, binary classification (normal/anomaly)
19
 
20
- ## Deployment
21
 
22
  ### REST API (FastAPI)
23
  ```bash
@@ -51,13 +58,15 @@ curl -X POST http://localhost:8000/predict \
51
  | RandomForest | 73.10% | 73.05% | 95.34% | Supervised |
52
  | MLP | 73.28% | 73.21% | 89.33% | Supervised |
53
  | Autoencoder | 71.84% | 71.34% | 73.60% | Unsupervised |
 
 
 
54
 
55
  ## Project Structure
56
  ```
57
  nids_project/
58
  β”œβ”€β”€ api.py # FastAPI REST API
59
- β”œβ”€β”€ app.py # Gradio web UI
60
- β”œβ”€β”€ space_app.py # HF Spaces app
61
  β”œβ”€β”€ data_loader.py # Dataset loading
62
  β”œβ”€β”€ ml_models.py # ML implementations
63
  β”œβ”€β”€ dl_models.py # DL implementations
 
1
  ---
2
+ title: Network Intrusion Detection System
3
+ colorFrom: blue
4
+ colorTo: red
5
+ sdk: gradio
6
+ sdk_version: 4.0.0
7
+ app_file: app.py
8
+ pinned: false
9
+ license: mit
10
  ---
11
+
12
  # πŸ›‘οΈ Network Intrusion Detection System (NIDS)
13
 
14
  Real-time network intrusion detection using ML & Deep Learning models trained on the NSL-KDD dataset.
 
24
  ## Dataset
25
  [NSL-KDD](https://huggingface.co/datasets/Mireu-Lab/NSL-KDD) β€” 185K records, 41 features, binary classification (normal/anomaly)
26
 
27
+ ## Usage
28
 
29
  ### REST API (FastAPI)
30
  ```bash
 
58
  | RandomForest | 73.10% | 73.05% | 95.34% | Supervised |
59
  | MLP | 73.28% | 73.21% | 89.33% | Supervised |
60
  | Autoencoder | 71.84% | 71.34% | 73.60% | Unsupervised |
61
+ | LSTM | 70.65% | 70.58% | 87.80% | Unsupervised |
62
+ | Transformer | 57.94% | 57.26% | 80.29% | Supervised |
63
+ | IsolationForest | 56.55% | 55.96% | 65.24% | Unsupervised |
64
 
65
  ## Project Structure
66
  ```
67
  nids_project/
68
  β”œβ”€β”€ api.py # FastAPI REST API
69
+ β”œβ”€β”€ app.py # Gradio web UI (this Space)
 
70
  β”œβ”€β”€ data_loader.py # Dataset loading
71
  β”œβ”€β”€ ml_models.py # ML implementations
72
  β”œβ”€β”€ dl_models.py # DL implementations