protected abstract int getLibsvmType();
private static svm_problem toSvmProblem(Dataset dataset)
{
svm_problem problem = new svm_problem();
List<Double> labels = dataset.getLabels();
problem.l = labels.size();
problem.y = new double[labels.size()];
for (int i = 0; i < labels.size(); i++) {
problem.y[i] = labels.get(i);