无法将结构确定为arff

时间:2014-11-25 15:02:42

标签: weka arff

我正在尝试在weka上传一个arff文件,但它正在创建这个问题:

  

无法将结构确定为arff(原因:   java.io.IOException:}在枚举结束时预期,读取令牌[EOL],   第4行

@RELATION data1

@ATTRIBUTE attribute_0 {"T,"N,"A,"C,"V}
@ATTRIBUTE attribute_1 REAL
@ATTRIBUTE attribute_2 {""VRoot"",""0""",""1""",""Hide1"",1,10001",1",10002",10003",10004",10005",10006",10007",10008",10009",10010",10011",10012",10013",10014",10015",10016",10017",10018",10019",10020",10021",10022",10023",10024",10025",10026",10027",100

1 个答案:

答案 0 :(得分:1)

根据ARFF Format DocumentationREAL不是有效的属性类型。

尝试NUMERIC

还要小心引号。解析器可能会假设"用于引用字符串,而您的引号不匹配。