Package org.encog.mathutil.randomize

Examples of org.encog.mathutil.randomize.GaussianRandomizer


  public static void main(final String args[]) {

    RangeRandomizer rangeRandom = new RangeRandomizer(-1, 1);
    NguyenWidrowRandomizer nwrRandom = new NguyenWidrowRandomizer(-1, 1);
    FanInRandomizer fanRandom = new FanInRandomizer();
    GaussianRandomizer gaussianRandom = new GaussianRandomizer(0, 1);

    System.out.println("Error improvement, higher is better.");
    BasicMLDataSet training = new BasicMLDataSet(XOR_INPUT,
        XOR_IDEAL);
    BasicNetwork network = EncogUtility.simpleFeedForward(2, 10, 0, 1, true);
View Full Code Here


  private void optionGaussian(RandomizeNetworkDialog dialog) {
    double mean = dialog.getMean().getValue();
    double dev = dialog.getDeviation().getValue();

    GaussianRandomizer g = new GaussianRandomizer(mean, dev);
    g.randomize((BasicNetwork) this.method);
    setDirty(true);
  }
View Full Code Here

TOP

Related Classes of org.encog.mathutil.randomize.GaussianRandomizer

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.