Examples of SVMSearchTrain


Examples of org.encog.ml.svm.training.SVMSearchTrain

    final double gammaStop = holder.getDouble(SVMSearchFactory.PROPERTY_GAMMA2, false, SVMSearchTrain.DEFAULT_GAMMA_END);
    final double cStop = holder.getDouble(SVMSearchFactory.PROPERTY_C2, false, SVMSearchTrain.DEFAULT_CONST_END);
    final double gammaStep = holder.getDouble(SVMSearchFactory.PROPERTY_GAMMA_STEP, false, SVMSearchTrain.DEFAULT_GAMMA_STEP);
    final double cStep = holder.getDouble(SVMSearchFactory.PROPERTY_C_STEP, false, SVMSearchTrain.DEFAULT_CONST_STEP);
   
    final SVMSearchTrain result = new SVMSearchTrain((SVM)method, training);
   
    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.