Generalized Pareto likelihood loss of a EQRN_iid predictor
Usage
compute_EQRN_GPDLoss(
fit_eqrn,
X,
y,
intermediate_quantiles = NULL,
interm_lvl = fit_eqrn$interm_lvl,
device = default_device()
)
Arguments
- fit_eqrn
Fitted
"EQRN_iid"
object.- X
Matrix of covariates.
- y
Response variable vector.
- intermediate_quantiles
Vector of intermediate conditional quantiles at level
fit_eqrn$interm_lvl
.- interm_lvl
Optional, checks that
interm_lvl == fit_eqrn$interm_lvl
.- device
(optional) A
torch::torch_device()
. Defaults todefault_device()
.