distfun_to_dist: Function to define output distribution based on dist_fun

Description Usage Arguments Value

View source: R/deepregression.R

Description

Function to define output distribution based on dist_fun

Usage

1
distfun_to_dist(dist_fun, preds)

Arguments

dist_fun

a distribution function as defined by make_tfd_dist

preds

tensors with predictions

Value

a symbolic tfp distribution


deepregression documentation built on Oct. 5, 2021, 1:06 a.m.