Update app.py
Browse files
app.py
CHANGED
|
@@ -15,12 +15,12 @@ class_names = joblib.load("class_names.pkl")
|
|
| 15 |
|
| 16 |
# Manually defined feature names (from your dataset)
|
| 17 |
FEATURE_COLUMNS = [
|
| 18 |
-
"flow_duration", "
|
| 19 |
"fin_flag_number", "syn_flag_number", "rst_flag_number", "psh_flag_number", "ack_flag_number",
|
| 20 |
"ece_flag_number", "cwr_flag_number", "ack_count", "syn_count", "fin_count", "urg_count",
|
| 21 |
-
"rst_count", "
|
| 22 |
-
"
|
| 23 |
-
"
|
| 24 |
]
|
| 25 |
|
| 26 |
# Streamlit UI
|
|
|
|
| 15 |
|
| 16 |
# Manually defined feature names (from your dataset)
|
| 17 |
FEATURE_COLUMNS = [
|
| 18 |
+
"flow_duration", "header_length", "protocol_type", "duration", "rate", "srate", "drate",
|
| 19 |
"fin_flag_number", "syn_flag_number", "rst_flag_number", "psh_flag_number", "ack_flag_number",
|
| 20 |
"ece_flag_number", "cwr_flag_number", "ack_count", "syn_count", "fin_count", "urg_count",
|
| 21 |
+
"rst_count", "http", "https", "dns", "telnet", "smtp", "ssh", "irc", "tcp", "udp", "dhcp",
|
| 22 |
+
"arp", "icmp", "ipv", "llc", "tot_sum", "min", "max", "avg", "std", "tot_size", "iat",
|
| 23 |
+
"number", "magnitue", "radius", "covariance", "variance", "weight"
|
| 24 |
]
|
| 25 |
|
| 26 |
# Streamlit UI
|