Package org.encog.engine.network.flat

Examples of org.encog.engine.network.flat.FlatNetwork


   * @param network The neuroph network to use.
   */
  public FlatNetworkLearning(NeuralNetwork network) {
    FlatNetworkPlugin plugin = (FlatNetworkPlugin) network
        .getPlugin(FlatNetworkPlugin.class);
    FlatNetwork flat = plugin.getFlatNetwork();
    if (this.flat == null)
      throw new EncogEngineError(
          "This learning rule only works with a network that has a FlatNetworkPlugin attached.");
    init(flat);
  }
View Full Code Here


      if (flatLayer == null)
        return false;
      flatLayers[index++] = flatLayer;
    }

    FlatNetwork flat = new FlatNetwork(flatLayers);
    FlatNetworkPlugin plugin = new FlatNetworkPlugin(flat);
    network.addPlugin(plugin);

    FlatNetworkLearning training = new FlatNetworkLearning(flat);
    network.setLearningRule(training);
View Full Code Here

TOP

Related Classes of org.encog.engine.network.flat.FlatNetwork

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.