package de.ugoe.cs.cpdp.training;

import weka.classifiers.Classifier;
import weka.classifiers.functions.SMO;

public class SMOPolyKernelBagging extends BaggingTraining {

	@Override
	public String getName() {
		return "SMOPolyBagging";
	}

	@Override
	protected Classifier setupClassifier() {
		return new SMO();
		/*CVParameterSelection ps = new CVParameterSelection();
		ps.setClassifier(new SMO());
		try {
			// Parameter optimization with 5x5 CV
			ps.setNumFolds(5);
			ps.addCVParameter("C 1 100 4");
		} catch (Exception e) {
			throw new RuntimeException();
		}
		return ps;*/
	}

}
