C# Класс SharpNeat.Network.RbfGaussian

Gaussian activation function. Output range is 0 to 1, that is, the tails of the gaussian distribution curve tend towards 0 as abs(x) -> Infinity and the gaussian's peak is at x = 0.
Наследование: IActivationFunction
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
__DefaultInstance IActivationFunction

Открытые методы

Метод Описание
Calculate ( double x, double auxArgs ) : double

Calculates the output value for the specified input value and activation function auxiliary arguments.

Calculate ( float x, float auxArgs ) : float

Calculates the output value for the specified input value and activation function auxiliary arguments. This single precision overload of Calculate() will be used in neural network code that has been specifically written to use floats instead of doubles.

GetRandomAuxArgs ( XorShiftRandom rng, double connectionWeightRange ) : double[]

For activation functions that accept auxiliary arguments; generates random initial values for aux arguments for newly added nodes (from an 'add neuron' mutation).

MutateAuxArgs ( double auxArgs, XorShiftRandom rng, SharpNeat.Utility.ZigguratGaussianSampler gaussianSampler, double connectionWeightRange ) : void

Genetic mutation for auxiliary argument data.

RbfGaussian ( double auxArgsMutationSigmaCenter, double auxArgsMutationSigmaRadius ) : System

Construct with the specified radial basis function auxiliary arguments.

Описание методов

Calculate() публичный Метод

Calculates the output value for the specified input value and activation function auxiliary arguments.
public Calculate ( double x, double auxArgs ) : double
x double
auxArgs double
Результат double

Calculate() публичный Метод

Calculates the output value for the specified input value and activation function auxiliary arguments. This single precision overload of Calculate() will be used in neural network code that has been specifically written to use floats instead of doubles.
public Calculate ( float x, float auxArgs ) : float
x float
auxArgs float
Результат float

GetRandomAuxArgs() публичный Метод

For activation functions that accept auxiliary arguments; generates random initial values for aux arguments for newly added nodes (from an 'add neuron' mutation).
public GetRandomAuxArgs ( XorShiftRandom rng, double connectionWeightRange ) : double[]
rng XorShiftRandom
connectionWeightRange double
Результат double[]

MutateAuxArgs() публичный Метод

Genetic mutation for auxiliary argument data.
public MutateAuxArgs ( double auxArgs, XorShiftRandom rng, SharpNeat.Utility.ZigguratGaussianSampler gaussianSampler, double connectionWeightRange ) : void
auxArgs double
rng XorShiftRandom
gaussianSampler SharpNeat.Utility.ZigguratGaussianSampler
connectionWeightRange double
Результат void

RbfGaussian() публичный Метод

Construct with the specified radial basis function auxiliary arguments.
public RbfGaussian ( double auxArgsMutationSigmaCenter, double auxArgsMutationSigmaRadius ) : System
auxArgsMutationSigmaCenter double Radial basis function center.
auxArgsMutationSigmaRadius double Radial basis function radius.
Результат System

Описание свойств

__DefaultInstance публичное статическое свойство

Default instance provided as a public static field.
public static IActivationFunction __DefaultInstance
Результат IActivationFunction