hari6677 commited on
Commit
619ca58
·
verified ·
1 Parent(s): b74e4f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ from sklearn.preprocessing import LabelEncoder
12
 
13
  # --- Model & Scaler Configuration ---
14
  H5_MODEL_FILE = "https://huggingface.co/spaces/hari6677/intrusion_detector_model/commit/db539a078811615764b2c84aacb85b1a3f804a3c"
15
- SCALER_FILE_NAME = "scaler.pkl"
16
  # Threshold optimized in Cell 11 for better Attack Recall
17
  PREDICTION_THRESHOLD = 0.40
18
  FEATURE_COUNT = 40 # Expected number of features after one-hot encoding
 
12
 
13
  # --- Model & Scaler Configuration ---
14
  H5_MODEL_FILE = "https://huggingface.co/spaces/hari6677/intrusion_detector_model/commit/db539a078811615764b2c84aacb85b1a3f804a3c"
15
+ SCALER_FILE_NAME = "https://huggingface.co/spaces/hari6677/intrusion_detector_model/commit/db539a078811615764b2c84aacb85b1a3f804a3c"
16
  # Threshold optimized in Cell 11 for better Attack Recall
17
  PREDICTION_THRESHOLD = 0.40
18
  FEATURE_COUNT = 40 # Expected number of features after one-hot encoding