Package org.encog.ml.svm

Examples of org.encog.ml.svm.SVM.calculateError()


      SVM method = (SVM) file.getObject();
      SVMTrain train = new SVMTrain((SVM) method, trainingData);
      train.setC(c);
      train.setGamma(g);
      train.iteration();
      double error = method.calculateError(trainingData);
      if (EncogWorkBench.askQuestion("Training Done",
          "Error: " + Format.formatPercent(error)
              + "\nSave training?")) {
        file.save();
      }
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.