average_mixture_rules: Estimate the average rule. This is the rule that is the...

View source: R/average_mixture_rules.R

average_mixture_rulesR Documentation

Estimate the average rule. This is the rule that is the average across thresholds in folds and gives the lower and upper bounds

Description

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:

Usage

average_mixture_rules(
  group_list,
  data = data,
  mix_comps = mix_comps,
  n_folds,
  mixture_results
)

Arguments

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

Value

Rules object. TODO: add more detail here.

Data frame with mixture results including the union rule and proportion found across the folds


blind-contours/CVtreeMLE documentation built on June 22, 2024, 8:53 p.m.