IActivationFunction {Microsoft.VisualBasic.MachineLearning.ComponentModel.Activations} | .NET clr documentation |
Activation function interface.
All activation functions, which are supposed to be used with neurons, which calculate their output as a function of weighted sum of their inputs, should implement this interfaces.
# namespace Microsoft.VisualBasic.MachineLearning.ComponentModel.Activations
export class IActivationFunction {
Store: ActiveFunction;
# 因为激活函数在求导之后,结果值可能会出现无穷大
# 所以可以利用这个值来限制求导之后的结果最大值
Truncate: double;
}
Store
: ActiveFunction