Learn R Programming

qrnn (version 2.0.1)

qrnn.initialize: 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.

n.hidden

number of hidden nodes in the QRNN model.

init.range

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

References

Cannon, A.J., 2011. Quantile regression neural networks: implementation in R and application to precipitation downscaling. Computers & Geosciences, 37: 1277-1284. doi:10.1016/j.cageo.2010.07.005