C# 클래스 Encog.MathUtil.Randomize.GaussianRandomizer

Generally, you will not want to use this randomizer as a pure neural network randomizer. More on this later in the description. Generate random numbers that fall within a Gaussian curve. The mean represents the center of the curve, and the standard deviation helps determine the length of the curve on each side. This randomizer is used mainly for special cases where I want to generate random numbers in a Gaussian range. For a pure neural network initializer, it leaves much to be desired. However, it can make for a decent randomizer. Usually, the Nguyen Widrow randomizer performs better. Uses the "Box Muller" method. http://en.wikipedia.org/wiki/Box%E2%80%93Muller_transform Ported from C++ version provided by Everett F. Carter Jr., 1994
상속: BasicRandomizer
파일 보기 프로젝트 열기: encog/encog-silverlight-core 1 사용 예제들

공개 메소드들

메소드 설명
BoxMuller ( double m, double s ) : double

Compute a Gaussian random number.

GaussianRandomizer ( double mean, double standardDeviation ) : System

Construct a Gaussian randomizer. The mean, the standard deviation.

Randomize ( double d ) : double

Generate a random number.

메소드 상세

BoxMuller() 공개 메소드

Compute a Gaussian random number.
public BoxMuller ( double m, double s ) : double
m double The mean.
s double The standard deviation.
리턴 double

GaussianRandomizer() 공개 메소드

Construct a Gaussian randomizer. The mean, the standard deviation.
public GaussianRandomizer ( double mean, double standardDeviation ) : System
mean double The mean.
standardDeviation double The standard deviation.
리턴 System

Randomize() 공개 메소드

Generate a random number.
public Randomize ( double d ) : double
d double The input value, not used.
리턴 double