| compute_score_given_pred | R Documentation |
Compute the scores given the prediction
compute_score_given_pred(
Y_N_1_thin,
Y_N_2_thin,
y_data,
group_data,
merge_groups = FALSE,
merged_group_name = NULL,
metric = NULL
)
Y_N_1_thin |
posterior predictive draws (rows = observations, columns = samples) |
Y_N_2_thin |
posterior predictive draws (rows = observations, columns = samples) |
y_data |
a vector of length n_obs |
group_data |
a vector of length n_obs |
merge_groups |
logical, if TRUE and there are exactly two groups, combine them into a vector-valued score |
merged_group_name |
optional label for the merged group |
metric |
optional custom metric function used to combine group-wise values before scoring |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.