compute_score | R Documentation |
This function takes in all of the ingredients needed for prediction validation, and returns the corresponding scores.
compute_score(outcome_mat, pred_mat, ipcw_mat, score = "brier")
outcome_mat |
Output from get_outcome_mat function |
pred_mat |
Output from calc_risks function |
ipcw_mat |
Output from get_ipcw_mat function |
score |
String indicating whether 'brier' score, or 'entropy' should be computed. |
a vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.