gel_init: Initializer for GELnet models

Description Usage Arguments Details Value

View source: R/def.R

Description

Defines initial values for model weights and the bias term

Usage

1
gel_init(w_init = NULL, b_init = NULL)

Arguments

w_init

p-by-1 vector of initial weight values

b_init

scalar, initial value for the bias term

Details

If an initializer is NULL, the values are computed automatically during training

Value

An initializer that can be combined with a model definition using + operator


ArtemSokolov/gelnet documentation built on Sept. 13, 2019, 4:01 a.m.