qrnn.initialize {qrnn} | R Documentation |
Initialize a QRNN weight vector
Description
Random initialization of the weight vector used during fitting of a QRNN model.
Usage
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. |
number of hidden nodes in the QRNN model. | |
init.range |
initial weight range for input-hidden and hidden-output weight matrices. |
[Package qrnn version 2.1.1 Index]