startup(file, train, maxError);
}
}
private void performQPROP(ProjectEGFile file, MLDataSet trainingData) {
InputQPROP dialog = new InputQPROP();
if (dialog.process()) {
double learningRate = dialog.getLearningRate().getValue();
int kFold = dialog.getKfold().getValue();
if( kFold>0 ) {
trainingData = this.wrapTrainingData(trainingData);
}
MLTrain train = new QuickPropagation((BasicNetwork) file.getObject(),
trainingData, learningRate);
if( kFold>0 ) {
train = this.wrapTrainer(trainingData,train,kFold);
}
startup(file, train, dialog.getMaxError().getValue() / 100.0);
}
}