Package org.encog.util.normalize.segregate

Examples of org.encog.util.normalize.segregate.RangeSegregator


    private DataNormalization createRangeSegregate()
    {
      InputField a,b;
      double[][] arrayOutput = new double[1][2];
     
      RangeSegregator s;
     
      NormalizationStorageArray2D target = new NormalizationStorageArray2D(arrayOutput);
     
      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(new OutputFieldRangeMapped(a,0.1,0.9));
      norm.addOutputField(new OutputFieldRangeMapped(b,0.1,0.9));
      norm.addSegregator(s = new RangeSegregator(a,false));
      s.addRange(2, 2, true);
      return norm;
    }
View Full Code Here

TOP

Related Classes of org.encog.util.normalize.segregate.RangeSegregator

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.