0
我想使用weka獲取數據集的第一列。但複製過濾器返回整個集合!爲什麼?謝謝。Weka複製過濾器不起作用
Copy mCopy = new Copy();
mCopy.setInputFormat(rawData);
String rangeList;
rangeList = "first";
mCopy.setAttributeIndices(rangeList);
Instances dataSlice = weka.filters.Filter.useFilter(rawData, mCopy);
System.out.println(dataSlice);