make_weights: Create Weights for Neural Networks

Description Usage Arguments Value Author(s) Examples

View source: R/make_weights.R

Description

Create list of weights and biases to describe a dense neural network.

Usage

1
make_weights(sizes)

Arguments

sizes

a vector giving the size of each layer, including the input and output layers

Value

a list containing initialized weights and biases

Author(s)

(modify based on CASL p217)

Examples

1
2
3
4
## Not run: 
make_weights(c(10, 10, 10, 5))

## End(Not run)

yijunyang/bis557 documentation built on Dec. 21, 2020, 3:06 a.m.