{ "method": "per_label_f1_optimization", "thresholds": { "clean": 0.2, "xss": 0.5, "sqli": 0.74, "path_traversal": 0.68, "command_injection": 0.66, "scanner": 0.7, "spam_bot": 0.72 }, "metrics_at_thresholds": { "macro_f1": 0.8656, "fpr_clean": 0.0083, "mean_attack_recall": 0.889, "recall_xss": 0.951, "recall_cmdi": 0.826, "note": "CMDi threshold lowered from 0.68 to 0.66 to satisfy recall >= 0.80 constraint" }, "_threshold_array": [ 0.2, 0.5000000000000001, 0.7400000000000001, 0.68, 0.68, 0.7000000000000001, 0.7200000000000001 ] }