Learn R Programming

LBBNN (version 0.1.2)

density_initialization: Generate initializations for the inclusion parameters.

Description

Controls the initial density of the network, and thus an important tuning parameter. The initialization parameters are sampled from 1/(1+exp(-U)), with U ~ Uniform(lower,upper).

Usage

density_initialization(lower, upper)

Value

A numeric vector of length 2: c(lower,upper)

Arguments

lower

numeric scalar.

upper

numeric scalar, must be greater than