generateDropoutMask: Dropout mask generator function.

Description Usage Arguments Value

View source: R/dropout.R

Description

This function generates droput masks as a vector of given length, according to the given dropout rate.

Usage

1

Arguments

length

length of the dropout mask

dropoutRate

The dropout rate (i.e. percentage of zeros in the mask)

Value

Matrix containing the dropout mask


darch documentation built on May 29, 2017, 8:14 p.m.