|
IStochasticFunctionGenerate2 Method
|
Samples a value from the function given a function output value.
Namespace:
Accord.Neuro.ActivationFunctions
Assembly:
Accord.Neuro (in Accord.Neuro.dll) Version: 3.8.0
Syntax double Generate2(
double y
)
Function Generate2 (
y As Double
) As Double
Request Example
View SourceParameters
- y
- Type: SystemDouble
The function output value. This is the value which was obtained
with the help of the Function(Double) method.
Return Value
Type:
DoubleDraws a random value from the function.
Remarks The method calculates the same output value as the
Generate(Double) method, but it takes not the input x value
itself, but the function value, which was calculated previously with help
of the Function(Double) method.
See Also