int[] weightLabels = {-1, 1};
double[] weights = {1,1};
param.setWeightLabels(weightLabels);
param.setWeights(weights);
LibSVMModel model = LibSVM.trainSVMModel(matrix, LibSVM.createTargets(labels, labelMap), param);
double[][] testMatrix = combineTestKernels(testMatrixA, testMatrixB);
//double[][] testMatrix = matrix;
labels = new ArrayList<String>();