from_dist_to_loss_torch: Function to transform a distribution layer output into a loss...

View source: R/deepregression_torch.R

from_dist_to_loss_torchR Documentation

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

Value

loss function


deepregression documentation built on Sept. 9, 2025, 5:27 p.m.