IActivationFunction MethodsEncog Machine Learning Framework for .Net

The IActivationFunction type exposes the following members.

Methods

  NameDescription
Public methodActivationFunction
Implements the activation function. The array is modified according to the activation function being used. See the class description for more specific information on this type of activation function.
Public methodClone
Creates a new object that is a copy of the current instance.
(Inherited from ICloneable.)
Public methodDerivativeFunction
Calculate the derivative. For performance reasons two numbers are provided. First, the value "b" is simply the number that we would like to calculate the derivative of. Second, the value "a", which is the value returned by the activation function, when presented with "b". We use two values because some of the most common activation functions make use of the result of the activation function. It is bad for performance to calculate this value twice. Yet, not all derivatives are calculated this way. By providing both the value before the activation function is applied ("b"), and after the activation function is applied("a"), the class can be constructed to use whichever value will be the most efficient.
Top
See Also