k_ontram_loss: Another keras implementation of the ontram loss

View source: R/k-ontram_metrics.R

k_ontram_lossR Documentation

Another keras implementation of the ontram loss

Description

Another keras implementation of the ontram loss

Usage

k_ontram_loss(K)

Examples

y_true <- k_constant(matrix(c(1, 0, 0, 0, 0), nrow = 1L))
loss <- k_ontram_loss(ncol(y_true))
loss(y_true, m$output)
loss(k_constant(Y), m(list(INT, X, Z)))

LucasKookUZH/ontram-pkg documentation built on March 27, 2023, 6:05 p.m.