Package org.encog.neural.networks

Examples of org.encog.neural.networks.BasicNetwork.winner()


    System.out.println("Error:" + network.calculateError(training));
   
    // test it
    for(int i=0;i<DIGITS.length;i++)
    {
      int output = network.winner(image2data(DIGITS[i]));
     
      for(int j=0;j<CHAR_HEIGHT;j++)
      {
        if( j==CHAR_HEIGHT-1 )
          System.out.println(DIGITS[i][j]+" -> "+output);
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.