Description Usage Arguments Value
View source: R/deepregression.R
Define Predictor of a Deep Distributional Regression Model
1 2 3 4 5 6 7 8 9 | from_preds_to_dist(
list_pred_param,
family = NULL,
output_dim = 1L,
mapping = NULL,
from_distfun_to_dist = distfun_to_dist,
add_layer_shared_pred = function(x, units) layer_dense(x, units = units, use_bias =
FALSE)
)
|
list_pred_param |
list of input-output(-lists) generated from
|
family |
see |
output_dim |
dimension of the output |
mapping |
a list of integers. The i-th list item defines which element
elements of |
from_distfun_to_dist |
function creating a tfp distribution based on the
prediction tensors and |
add_layer_shared_pred |
layer to extend shared layers defined in |
a list with input tensors and output tensors that can be passed
to, e.g., keras_model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.