initw: Initialize weights and biases of a neural network.

Description Usage Arguments Value

View source: R/snnR.R

Description

Function to initialize the weights and biases in a neural network.

Usage

1
initw(nHidden, nvaibles)

Arguments

nHidden

(positive integer, 1 x h) matrix that indicates number of neurons and number layers of neural network.

nvaibles

(positive integer) number of parameters to be estimate including only weights and biases.

Value

A list containing initial values for weights and biases.


snnR documentation built on May 2, 2019, 8:54 a.m.

Related to initw in snnR...