火车和测试中的数据集划分CIC-DDoS2019

时间:2020-09-09 01:52:03

标签: python database deep-learning lstm recurrent-neural-network

晚安,我在共享CIC-DDoS2019数据集时遇到麻烦。 有人可以帮助我处理数据集吗?

https://www.unb.ca/cic/datasets/ddos-2019.html

我已经尝试使用此代码。 但是我的RNN(LSTM)结果并不令人满意。

from sklearn.model_selection import train_test_split
x_train, x_test, y_train, y_test = train_test_split(UDPlag.drop(' Label',
                                                    axis=1),
                                                    UDPlag[' Label'],
                                                    test_size=0.3,
                                                    random_state=42)

0 个答案:

没有答案