SeriesPipes pp = new SeriesPipes(new Pipe[]{ngrampp,targetpp,sparsepp});
InstanceSet instset = new InstanceSet(pp,af);
//用不同的Reader读取相应格式的文件
Reader reader = new FileReader(trainDataPath,"UTF-8",".data");
//读入数据,并进行数据处理
instset.loadThruStagePipes(reader);
//将数据集分为训练是和测试集
float percent = 0.8f;