}
}
private void performSVMSearch(ProjectEGFile file, MLDataSet trainingData) {
InputSearchSVM dialog = new InputSearchSVM();
SVM method = (SVM) file.getObject();
dialog.getBeginningGamma().setValue(SVMTrain.DEFAULT_GAMMA_BEGIN);
dialog.getEndingGamma().setValue(SVMTrain.DEFAULT_GAMMA_END);
dialog.getStepGamma().setValue(SVMTrain.DEFAULT_GAMMA_STEP);
dialog.getBeginningC().setValue(SVMTrain.DEFAULT_CONST_BEGIN);
dialog.getEndingC().setValue(SVMTrain.DEFAULT_CONST_END);
dialog.getStepC().setValue(SVMTrain.DEFAULT_CONST_STEP);
if (dialog.process()) {
double maxError = dialog.getMaxError().getValue() / 100.0;
SVMSearchJob train = new SVMSearchJob(method, trainingData, null);
train.setGammaBegin(dialog.getBeginningGamma().getValue());
train.setGammaEnd(dialog.getEndingGamma().getValue());
train.setGammaStep(dialog.getStepGamma().getValue());
train.setConstBegin(dialog.getBeginningC().getValue());
train.setConstEnd(dialog.getEndingC().getValue());
train.setConstStep(dialog.getStepC().getValue());
EngineConcurrency.getInstance().setThreadCount(dialog.getThreadCount().getValue());
startup(file, train, maxError);
}
}