Function to return the log_score
log_score(
x,
data = NULL,
this_y = NULL,
ind_fun = NULL,
convert_fun = as.matrix,
summary_fun = function(x) x
)
the fitted deepregression object
an optional data set
new y for optional data
function indicating the dependency; per default (iid assumption)
tfd_independent
is used.
function that converts Tensor; per default as.matrix
function summarizing the output; per default the identity