Examples of SVMSearchJob


Examples of org.encog.ml.svm.training.search.SVMSearchJob

    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);
    }
  }
View Full Code Here

Examples of org.encog.ml.svm.training.search.SVMSearchJob

    final double gammaStop = holder.getDouble(SVMSearchFactory.PROPERTY_GAMMA2, false, SVMSearchJob.DEFAULT_GAMMA_END);
    final double cStop = holder.getDouble(SVMSearchFactory.PROPERTY_C2, false, SVMSearchJob.DEFAULT_CONST_END);
    final double gammaStep = holder.getDouble(SVMSearchFactory.PROPERTY_GAMMA_STEP, false, SVMSearchJob.DEFAULT_GAMMA_STEP);
    final double cStep = holder.getDouble(SVMSearchFactory.PROPERTY_C_STEP, false, SVMSearchJob.DEFAULT_CONST_STEP);
   
    final SVMSearchJob result
    = new SVMSearchJob((SVM)method, training, new NullStatusReportable());
   
    result.setGammaBegin(gammaStart);
    result.setGammaEnd(gammaStop);
    result.setGammaStep(gammaStep);
    result.setConstBegin(cStart);
    result.setConstEnd(cStop);
    result.setConstStep(cStep);

    return result;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.