Instances train1 = new Instances(new BufferedReader(new FileReader("d:\\jacx.arff")));
int lastIndex = train1.numAttributes() - 1;
train1.setClassIndex(lastIndex);
此代码在 localhost 上正常运行,但在上传 Amazon AWS 后出现错误。
“jacx.arff”文件未上传到 aws。
怎么上传???并告诉我如何阅读上传的文件。