View source: R/average_mixture_rules.R
average_mixture_rules | R Documentation |
This function takes in a list of rules that are grouped by variable sets. These rules for different variable sets may be slightly different across the folds so we make a average rule for each variable set. This entails creating a new rule that is is the average of cutpoints:
average_mixture_rules(
group_list,
data = data,
mix_comps = mix_comps,
n_folds,
mixture_results
)
group_list |
List of dataframes grouped by rules for variable sets |
data |
Full data |
mix_comps |
Mixture components of A |
n_folds |
Number of folds used in cross-validation |
mixture_results |
data frame of results found for mixture rules |
Rules object. TODO: add more detail here.
Data frame with mixture results including the union rule and proportion found across the folds
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.