quantile_loss_tensor | R Documentation |
Tensor quantile loss function for training a QRN network
quantile_loss_tensor(
out,
y,
q = 0.5,
return_agg = c("mean", "sum", "vector", "nanmean", "nansum")
)
out |
Batch tensor of the quantile output by the network. |
y |
Batch tensor of corresponding response variable. |
q |
Probability level of the predicted quantile |
return_agg |
The return aggregation of the computed loss over the batch. Must be one of |
The quantile loss over the batch between the network output ans the observed responses as a torch::Tensor
,
whose dimensions depend on return_agg
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.