Description Usage Arguments Value Examples
This function returns a data frame of model accuracy, precision, recall, specificity and F1 value.
1 | summary_table(truth, pred, name = NULL, gathered = TRUE)
|
truth |
A logical vector of true values |
pred |
A logical vector of values predicted by the model |
name |
An atomic character vector that will be appended to the output table, useful if you will be joining multipe summary tables |
gathered |
A boolean value. If TRUE, returns a 'tidy' dataframe with a column of values, and one row per measure type. If FALSE, returns a one-row data frame with one column for each measure type. |
A data frame with performance measure values
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.