Description Usage Arguments Value
View source: R/basicFunctions.R
Calculate CDE loss
1 | cde_loss(pred, z_grid, z_test)
|
pred |
a matrix of conditional density estimates; rows correspond to densities on z_grid and columns correspond to observations z_test. |
z_grid |
a vector of grid points at which pred is evaluated. |
z_test |
a vector of observed z-values. |
The estimated CDE loss for the predict estimates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.