Package org.encog.neural.thermal

Examples of org.encog.neural.thermal.HopfieldNetwork


    validateHopfield(network2);
  }
 
  public void testPersistSerial() throws IOException, ClassNotFoundException
  {
    HopfieldNetwork network = new HopfieldNetwork(1000);
    network.setWeight(1,1,1);
   
    SerializeObject.save(SERIAL_FILENAME, network);
    HopfieldNetwork network2 = (HopfieldNetwork)SerializeObject.load(SERIAL_FILENAME);
       
    validateHopfield(network2);
  }
View Full Code Here


   * Generate the Hopfield neural network.
   *
   * @return The generated network.
   */
  public MLMethod generate() {
    HopfieldNetwork logic = new HopfieldNetwork(this.neuronCount);
    return logic;
  }
View Full Code Here

TOP

Related Classes of org.encog.neural.thermal.HopfieldNetwork

Copyright © 2018 www.massapicom. 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.