from_dist_to_loss_torch: Function to transform a distribution layer output into a loss function
Description
Function to transform a distribution layer output into a loss function
Usage
from_dist_to_loss_torch(family, weights = NULL)
Arguments
- family
see ?deepregression
- weights
sample weights