Package org.encog.neural.art

Examples of org.encog.neural.art.ART1.compute()


    ART1 logic = new ART1(INPUT_NEURONS,OUTPUT_NEURONS);

    for (int i = 0; i < PATTERN.length; i++) {
      BiPolarNeuralData in = new BiPolarNeuralData(this.input[i]);
      BiPolarNeuralData out = new BiPolarNeuralData(OUTPUT_NEURONS);
      logic.compute(in, out);
      if (logic.hasWinner()) {
        System.out.println(PATTERN[i] + " - " + logic.getWinner());
      } else {
        System.out.println(PATTERN[i]
            + " - new Input and all Classes exhausted");
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.