Description Usage Arguments Value
check_accuracy
ingests the cleaned results from process_results
without standard errors and
returns the accuracy in reconstructing the observed data. If true_vals
from generate_sim_data
is supplied, the function will also return the RMSE and MAE of posterior predictions for the latent values.
A confusion matrix, precision, recall, and Kappa score are also available via confusion = TRUE
for data
with fixed marginal distributions.
1 | check_accuracy(dat, results, true_vals = NULL, mode, confusion = T)
|
dat |
Data matrix. |
results |
processed results from |
true_vals |
Optional list of true latent values from |
mode |
Margin type. Must be one of "fixed", "multi" or "mixed". |
confusion |
Boolean indicating whether to return a confusion matrix. Only works for "fixed" margin data. |
List of observed accuracy and accuracy metrics (rmse and mae). If confusion is TRUE, also returns confusion matrix results.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.