create_family {deepregression} | R Documentation |
Function to create (custom) family
create_family(tfd_dist, trafo_list, output_dim = 1L)
tfd_dist |
a tensorflow probability distribution |
trafo_list |
list of transformations h for each parameter
(e.g, |
output_dim |
integer defining the size of the response |
a function that can be used by
tfp$layers$DistributionLambda
to create a new
distribuional layer