Click or drag to resize
Accord.NET (logo)

BernoulliFunctionGenerate Method

Samples a value from the function given a input value.

Namespace:  Accord.Neuro.ActivationFunctions
Assembly:  Accord.Neuro (in Accord.Neuro.dll) Version: 3.8.0
Syntax
public double Generate(
	double x
)
Request Example View Source

Parameters

x
Type: SystemDouble
Function input value.

Return Value

Type: Double
Draws a random value from the function.

Implements

IStochasticFunctionGenerate(Double)
See Also