Package org.encog.util.normalize.output.mapped

Examples of org.encog.util.normalize.output.mapped.OutputFieldEncode


  private DataNormalization create(double[][] arrayOutput) {
    InputField a,b;
   
   
    NormalizationStorageArray2D target = new NormalizationStorageArray2D(arrayOutput);
    OutputFieldEncode a1;
    OutputFieldEncode b1;
   
    DataNormalization norm = new DataNormalization();
    norm.setReport(new NullStatusReportable());
    norm.setTarget(target);
    norm.addInputField(a = new InputFieldArray2D(false,ARRAY_2D,0));
    norm.addInputField(b = new InputFieldArray2D(false,ARRAY_2D,1));
    norm.addOutputField(a1 = new OutputFieldEncode(a));
    norm.addOutputField(b1 = new OutputFieldEncode(b));
    a1.addRange(1.0, 2.0, 0.1);
    b1.addRange(0, 100, 0.2);
   
    return norm;
  }
View Full Code Here

TOP

Related Classes of org.encog.util.normalize.output.mapped.OutputFieldEncode

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.