Predict method for a QRN_seq fitted object
Usage
# S3 method for class 'QRN_seq'
predict(object, ...)Arguments
- object
Fitted
"QRN_seq"object.- ...
Arguments passed on to
QRN_seq_predictXMatrix of covariates to predict the corresponding response's conditional quantiles.
YResponse variable vector corresponding to the rows of
X.q_levelOptional, checks that
q_level == fit_qrn_ts$interm_lvl.crop_predictionsWhether to crop out the fist
seq_lenobservations (which areNA) from the returned matrix.device(optional) A
torch::torch_device(). Defaults todefault_device().
Value
Matrix of size nrow(X) times 1
(or nrow(X)-seq_len times 1 if crop_predictions)
containing the conditional quantile estimates of the corresponding response observations.
Details
See QRN_seq_predict() for more details.