This adds a learner to the ensemble used for estimating a model of the conditional expectation of the pseudo-outcome.
add_effect_model(hte_cfg, model_name, ...)
HTE_cfg
object to update.
Character indicating the name of the model to
incorporate into the joint effect ensemble. Possible values
use SuperLearner
naming conventions. A full list is available
with SuperLearner::listWrappers("SL")
Parameters over which to grid-search for this model class.
Updated HTE_cfg
object
library("dplyr")
basic_config() %>%
add_effect_model("SL.glm.interaction") -> hte_cfg