R/recipe-api.R
add_effect_diagnostic.Rd
This adds a diagnostic to the effect model.
add_effect_diagnostic(hte_cfg, diag)
HTE_cfg object to update.
HTE_cfg
Character indicating the name of the diagnostic to include. Possible values are "MSE", "RROC" and, for SuperLearner ensembles, "SL_risk" and "SL_coefs".
"MSE"
"RROC"
SuperLearner
"SL_risk"
"SL_coefs"
Updated HTE_cfg object
library("dplyr") basic_config() %>% add_effect_diagnostic("RROC") -> hte_cfg