Description Usage Arguments Value
View source: R/convert_learners.R
The "Learner Spec" objects in both sherlock_calculate
and
est_cate
can be an instantiated learner object, or a
list
of learners to be instantiated. To use base learners that
require model specification (e.g., GLMs or regularized regression), then we
need to specify the interaction terms using the original column names from
the input dataset. This internal function converts those names to the
abstracted names.
1 | convert_to_learners(learner, npsem, use_cv_selector = F)
|
learner |
Either an instantiated learner object, with class inheriting
from @param use_cv_selector If |
an instantiated learner object, with class inheriting from
Lrnr_base
, from sl3.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.