Upload web_attack_detection/metadata.json with huggingface_hub
Browse files
web_attack_detection/metadata.json
CHANGED
|
@@ -1,35 +1,23 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
-
"
|
|
|
|
|
|
|
| 4 |
"accuracy": 1.0,
|
| 5 |
-
"
|
| 6 |
-
"inference_time_ms": 0.029021159858460637,
|
| 7 |
"feature_names": [
|
| 8 |
-
"
|
| 9 |
-
"
|
| 10 |
-
"
|
| 11 |
-
"
|
| 12 |
-
"
|
| 13 |
-
"
|
| 14 |
-
"
|
| 15 |
-
"
|
| 16 |
-
"
|
| 17 |
-
"
|
| 18 |
-
"
|
| 19 |
-
"
|
| 20 |
-
"url_underscore_count",
|
| 21 |
-
"url_param_count",
|
| 22 |
-
"url_tld_length",
|
| 23 |
-
"url_has_subdomain",
|
| 24 |
-
"url_is_https",
|
| 25 |
-
"url_has_port",
|
| 26 |
-
"url_non_standard_port",
|
| 27 |
-
"url_has_ip_address",
|
| 28 |
-
"url_has_injection_pattern",
|
| 29 |
-
"url_at_symbol",
|
| 30 |
-
"url_has_query",
|
| 31 |
-
"url_is_common_tld"
|
| 32 |
],
|
| 33 |
-
"
|
| 34 |
-
"framework": "sklearn"
|
| 35 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"name": "web_attack_detection",
|
| 3 |
+
"trained_at": "2026-05-09T17:11:51.392325",
|
| 4 |
+
"samples": 4000,
|
| 5 |
+
"threat_rate": 0.5,
|
| 6 |
"accuracy": 1.0,
|
| 7 |
+
"f1": 1.0,
|
|
|
|
| 8 |
"feature_names": [
|
| 9 |
+
"url_length",
|
| 10 |
+
"hostname_length",
|
| 11 |
+
"path_length",
|
| 12 |
+
"is_https",
|
| 13 |
+
"has_ip_address",
|
| 14 |
+
"has_suspicious_tld",
|
| 15 |
+
"subdomain_count",
|
| 16 |
+
"has_port",
|
| 17 |
+
"query_params_count",
|
| 18 |
+
"has_at_symbol",
|
| 19 |
+
"has_double_slash",
|
| 20 |
+
"special_char_count"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
],
|
| 22 |
+
"model_type": "GradientBoostingClassifier"
|
|
|
|
| 23 |
}
|