SparseVectorSimilarity sim=new SparseVectorSimilarity();
pp.removeTargetPipe();
KNNClassifier knn=new KNNClassifier(trainset, pp, sim, af, 9);
af.setStopIncrement(true);
ItemFrequency tf=new ItemFrequency(trainset);
FeatureSelect fs=new FeatureSelect(tf.getFeatureSize());
long time_train=System.currentTimeMillis()-time_mark;
System.out.print("..Training compelte!\n");
System.out.print("Saving model...\n");
knn.saveTo(knnModelFile);