Examples of TeachingSynapse


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
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.