Description Usage Arguments Details Value Author(s) Examples
Makes predictions using a list of models and returns a vector where each value represents the ratio of models which agree on a specified classification for that observation.
1 | get_common_predictions(models, test_x, threshold, id_col = NULL)
|
models |
A list of models of class 'train' |
test_x |
'data.frame' or 'tibble'. explanitory variables from the test set |
threshold |
a numeric value between 0 and 1. What ratio of columns do you need to agree your target factor? |
id_col |
string of ID column. If there are no IDs, row numbers will be assigned before filtering out uncertain rows. |
When ID's arent present in the data, example ID's are generated.
tibble
"Chad Schaeffer <sch12059@byui.edu>",
1 2 3 4 5 6 7 8 | ## Not run:
get_common_predictions(models = models_list,
test_x = test_x,
threshold = 0.70)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.