initw {snnR}R Documentation

Initialize weights and biases of a neural network.

Description

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

Usage

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.


[Package snnR version 1.0 Index]