log_score {deepregression}R Documentation

Function to return the log_score

Description

Function to return the log_score

Usage

log_score(
  x,
  data = NULL,
  this_y = NULL,
  ind_fun = function(x) tfd_independent(x),
  convert_fun = as.matrix,
  summary_fun = function(x) x
)

Arguments

x

the fitted deepregression object

data

an optional data set

this_y

new y for optional data

ind_fun

function indicating the dependency; per default (iid assumption) tfd_independent is used.

convert_fun

function that converts Tensor; per default as.matrix

summary_fun

function summarizing the output; per default the identity


[Package deepregression version 1.0.0 Index]