powered by
A wrapper for permute_p_value().
permute_p_value()
compare_models(merged_data, metric, group_name, nperm = 10000)
a table of p-values for all pairs of group variable
the concatenated performance data from run_ml
run_ml
metric to compare, must be numeric
column with group variables to compare
number of permutations, default=10000
Courtney R Armour, armourc@umich.edu
df <- dplyr::tibble( model = c("rf", "rf", "glmnet", "glmnet", "svmRadial", "svmRadial"), AUC = c(.2, 0.3, 0.8, 0.9, 0.85, 0.95) ) set.seed(123) compare_models(df, "AUC", "model", nperm = 10)
Run the code above in your browser using DataLab