weka训练完训练集集,重新评估测试集时出错 Data used to train model and test set are not compatible

当选中使用测试集时,选好测试集
weka训练完训练集集,重新评估测试集时出错 Data used to train model and test set are not compatible
选择Re-evalue model on current test set
weka训练完训练集集,重新评估测试集时出错 Data used to train model and test set are not compatible
出现下面错误提示: Data used to train model and test set are not compatible
weka训练完训练集集,重新评估测试集时出错 Data used to train model and test set are not compatible
点击否 可以知道具体哪里有问题
weka训练完训练集集,重新评估测试集时出错 Data used to train model and test set are not compatible
提示不同的label numbers .我使用的数据集是Kddcup99不存在中文问题。所以应该是俩个数据集中每个属性对应值的排列顺序不同问题。。
打开两个数据集的arff文件,修改测试集的文件。把开头@ 后面的属性取值顺序变成训练集的。直接复制粘贴就好。
weka训练完训练集集,重新评估测试集时出错 Data used to train model and test set are not compatible
然后保存后,重新选择这个文件做测试集即可成功运行。