Package org.encog.neural.som

Examples of org.encog.neural.som.SOM.reset()


   *
   * @return The neural network.
   */
  public final MLMethod generate() {
    SOM som = new SOM(this.inputNeurons,this.outputNeurons);
    som.reset();
    return som;
  }

  /**
   * Set the activation function. A SOM uses a linear activation function, so
View Full Code Here


    return this.network;
  }

  private SOM createNetwork() {
    SOM result = new SOM(3,MapPanel.WIDTH * MapPanel.HEIGHT);
    result.reset();
    return result;
  }

  public static void main(String[] args) {
    SomColors frame = new SomColors();
View Full Code Here

    // create the training set
    MLDataSet training = new BasicMLDataSet(SOM_INPUT,null);
   
    // Create the neural network.
    SOM network = new SOM(4,2);
    network.reset();
   
    BasicTrainSOM train = new BasicTrainSOM(
        network,
        0.7,
        training,
View Full Code Here

   *
   * @return The neural network.
   */
  public MLMethod generate() {
    SOM som = new SOM(this.inputNeurons,this.outputNeurons);
    som.reset();
    return som;
  }

  /**
   * Set the activation function. A SOM uses a linear activation function, so
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.