Package org.joone.engine.learning

Examples of org.joone.engine.learning.TeachingSynapse


   * @param inpSynapse
   *          the input synapse holding the training data
   */
  protected void trainNetwork(NeuralNet net,
      PerformanceTupleInputSynapse inpSynapse) {
    TeachingSynapse trainer = new TeachingSynapse();
    StreamInputSynapse desiredOutput = inpSynapse.createDesiredOutputSynapse();
    desiredOutput.setAdvancedColumnSelector("1");
    trainer.setDesired(desiredOutput);
    net.getOutputLayer().addOutputSynapse(trainer);
    net.setTeacher(trainer);
    net.go(true);

    // Clean up
View Full Code Here

TOP

Related Classes of org.joone.engine.learning.TeachingSynapse

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.