Package org.encog.neural.flat

Examples of org.encog.neural.flat.FlatNetwork.compute()


    double[] output = new double[1];
    // test the neural network
    System.out.println("Neural Network Results:");
    for(MLDataPair pair: trainingSet ) {
      double[] input = pair.getInput().getData();
      network.compute(input, output);
      System.out.println(input[0] + "," + input[1] + ":" + output[0]);
    }
  }
}
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.