log_score: Function to return the log_score

Description Usage Arguments

View source: R/methods.R

Description

Function to return the log_score

Usage

1
2
3
4
5
6
7
8
log_score(
  x,
  data = NULL,
  this_y = NULL,
  ind_fun = function(x) tfd_independent(x, 1),
  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 Oct. 5, 2021, 1:06 a.m.