Learn R Programming

LBBNN (version 0.1.2)

get_input_inclusions: Function that checks how many times inputs are included, and from which layer. Used in summary function.

Description

Useful when the number of inputs and/or hidden neurons are very large, and direct visualization of the network is difficult.

Usage

get_input_inclusions(model)

Value

A matrix of shape (p, L-1) where p is the number of input variables and L the total number of layers (including input and output), with each element being 1 if the variable is included or 0 if not included.

Arguments

model

An instance of LBBNN_Net where input_skip = TRUE.