Examples of MLMethod


Examples of org.encog.ml.MLMethod

      fitFold(k, foldNumber, fold);
    }

    double sum = 0;
    double bestScore = Double.POSITIVE_INFINITY;
    MLMethod bestMethod = null;
    for (DataFold fold : cross.getFolds()) {
      sum += fold.getScore();
      if (fold.getScore() < bestScore) {
        bestScore = fold.getScore();
        bestMethod = fold.getMethod();
View Full Code Here

Examples of org.encog.ml.MLMethod

    if (this.methodType == null) {
      throw new EncogError(
          "Please call selectMethod first to choose what type of method you wish to use.");
    }
    MLMethodFactory methodFactory = new MLMethodFactory();
    MLMethod method = methodFactory.create(methodType, methodArgs, dataset
        .getNormHelper().calculateNormalizedInputCount(), this.config
        .determineOutputCount(dataset));
    return method;
  }
View Full Code Here

Examples of org.encog.ml.MLMethod

   */
  public MLMethod create(final String methodType,
      final String architecture, final int input, final int output) {
    for (EncogPluginBase plugin : Encog.getInstance().getPlugins()) {
      if (plugin instanceof EncogPluginService1) {
        MLMethod result = ((EncogPluginService1) plugin).createMethod(
            methodType, architecture, input, output);
        if (result != null) {
          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.