Skip to contents

lam1 L_3way + lam2 L_bin + lam3 L_reg.

Usage

morie_kamath_ch6_alignscore_total_loss(L_3way, L_bin, L_reg, lambdas)

Arguments

L_3way, L_bin, L_reg

Component losses.

lambdas

Three weights.

Value

List with estimate, contributions.

Examples

morie_kamath_ch6_alignscore_total_loss(1, 2, 3, c(0.5, 0.25,
    0.25))
#> $estimate
#> [1] 1.75
#> 
#> $contributions
#> [1] 0.50 0.50 0.75
#> 
#> $losses
#> [1] 1 2 3
#> 
#> $lambdas
#> [1] 0.50 0.25 0.25
#> 
#> $n
#> [1] 3
#> 
#> $method
#> [1] "AlignScore joint loss (Kamath Eq 6.3)"
#>