org.neuroph.util.random
Class GaussianRandomizer

java.lang.Object
  extended by org.neuroph.util.random.WeightsRandomizer
      extended by org.neuroph.util.random.GaussianRandomizer

public class GaussianRandomizer
extends WeightsRandomizer

This class provides Gaussian randomization technique using Box Muller method. Based on GaussianRandomizer from Encog

Author:
Zoran Sevarac

Field Summary
 
Fields inherited from class org.neuroph.util.random.WeightsRandomizer
randomGenerator
 
Constructor Summary
GaussianRandomizer(double mean, double standardDeviation)
           
 
Method Summary
protected  double nextRandomWeight()
          Returns next random value from random generator, that will be used to initialize weight
 
Methods inherited from class org.neuroph.util.random.WeightsRandomizer
getRandomGenerator, randomize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GaussianRandomizer

public GaussianRandomizer(double mean,
                          double standardDeviation)
Method Detail

nextRandomWeight

protected double nextRandomWeight()
Description copied from class: WeightsRandomizer
Returns next random value from random generator, that will be used to initialize weight

Overrides:
nextRandomWeight in class WeightsRandomizer
Returns:
next random value fro random generator


Copyright © 2012. All Rights Reserved.