Commit Graph

2 Commits

Author SHA1 Message Date
039df0757d feat: complete ensemble integration and remove legacy model code
- Remove legacy KNN DDoS replay and scanner model file watcher
- Wire ensemble inference into detector check() paths
- Update config: remove model_path/k/poll_interval_secs, add observe_only
- Add cookie_weight sweep CLI command for hyperparameter exploration
- Update training pipeline: batch iterator, weight export improvements
- Retrain ensemble weights (scanner 99.73%, DDoS 99.99% val accuracy)
- Add unified audit log module
- Update dataset parsers with copyright headers and minor fixes

Signed-off-by: Sienna Meridian Satterwhite <sienna@sunbeam.pt>
2026-03-10 23:38:22 +00:00
565ea4cde4 feat(autotune): add Bayesian hyperparameter optimization
Gaussian process-based optimizer for both DDoS and scanner models.
Samples hyperparameter space (k, threshold, window_secs, min_events,
heuristic thresholds) and optimizes F-beta score with expected
improvement acquisition. Logs each trial to optional JSONL file.

Signed-off-by: Sienna Meridian Satterwhite <sienna@sunbeam.pt>
2026-03-10 23:38:21 +00:00