Basic..::..Dropout Method

Dropout consists in randomly setting a fraction rate of input units to 0 at each update during training time, which helps prevent overfitting.

Namespace:  SiaNet.NN
Assembly:  SiaNet (in SiaNet.dll)

Syntax


public static Function Dropout(
	Variable layer,
	double rate
)
Public Shared Function Dropout ( _
	layer As Variable, _
	rate As Double _
) As Function
public:
static Function^ Dropout(
	Variable^ layer, 
	double^ rate
)

Parameters

layer
Type: Variable
The output of the last layer.
rate
Type: Double
A float value between 0 and 1. Fraction of the input units to drop.

Return Value