阅读背景:

Java:使用List of Integer的ArrayList进行CSV读取

来源:互联网 

So, hello all, this is my first question here. Indeed after looking for a while I didn't find anything helpful. I am quite new to java and Data Mining. I have an issue, so I am trying to get some data from a CSV file to convert it to an ARFF (which will allow me to open it properly in Weka) So the point is that the CSV I have is kind of broken, I have 2 attributes one is emotions and one is pixels, but the fact is that the pixels one is made from 17 different pixel value. I was planning to put my firsts attribute in an ArrayList of List where each list is made of one element and represent one emotions. And another ArrayList of List where each list is a bunch of my 17 pixels I don't know if I am clear, but here is my code followed by my output and by what I want as output.So, hello all, this is my first question here.




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: