list = pca.projectList(list);
}
else if(hasPCA == 2) {
DoublePCA pca = new DoublePCA();
pca.train(list);
list = pca.projectList(list, true);
}
// initialize CV
AccuracyEvaluator<double[]> ev = new AccuracyEvaluator<double[]>();
RandomSplitCrossValidation<double[]> cv = new RandomSplitCrossValidation<double[]>(