List<DirectedMultigraphWithRoot<Vertex<StringBuilder>, Edge<StringBuilder>>> graphs = copyGraphs(testGraphs);
graphs.addAll(copyGraphs(trainGraphs));
SparseVector[] featureVectors = new SparseVector[graphs.size()];
for (int i = 0; i < featureVectors.length; i++) {
featureVectors[i] = new SparseVector();
}
//double[][] featureVectors = new double[graphs.size()][];
Map<String, String> labelDict = new HashMap<String,String>();
double[][] kernel = KernelUtils.initMatrix(testGraphs.size(), trainGraphs.size());
double[] ss = new double[testGraphs.size() + trainGraphs.size()];