Research Article
An Intrusion Detection Method Based on Decision Tree-Recursive Feature Elimination in Ensemble Learning
Table 2
Example of data one-hot encoding result.
| | Protocol_type_icmp | Protocol_type_tcp | Protocol_type_udp | Service_IRC | Service_X11 | … | Flag_RSTR | Flag_S0 | Flag_SF | Flag_SH |
| 0 | 0 | 1 | 0 | 0 | 0 | … | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | … | 0 | 1 | 0 | 0 | … | … | … | … | … | … | … | … | … | … | … | 125968 | 0 | 1 | 0 | 0 | 0 | … | 0 | 1 | 0 | 0 | 125969 | 0 | 1 | 0 | 0 | 0 | … | 0 | 0 | 1 | 0 |
|
|