qrnn.initialize: Initialize a QRNN weight vector

Description Usage Arguments

View source: R/qrnn.R

Description

Random initialization of the weight vector used during fitting of a QRNN model.

Usage

1
qrnn.initialize(x, y, n.hidden, init.range=c(-0.5, 0.5, -0.5, 0.5))

Arguments

x

covariate matrix with number of rows equal to the number of samples and number of columns equal to the number of variables.

y

response column matrix with number of rows equal to the number of samples.

n.hidden

number of hidden nodes in the QRNN model.

init.range

initial weight range for input-hidden and hidden-output weight matrices.


qrnn documentation built on Dec. 23, 2017, 5:17 p.m.