log_score: Function to return the log_score

View source: R/methods.R

log_scoreR 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


deepregression documentation built on Jan. 18, 2023, 1:11 a.m.