gen_wrap_sl_lib: Generate customized wrapper for SuperLearner libraries

Description Usage Arguments Value

View source: R/generate_wrap_sl_lib.R

Description

The function generates customized wrapper in order to have access to the external libraries hyperparameters.

Usage

1
gen_wrap_sl_lib(lib_name, params, nthread)

Arguments

lib_name

The library name (e.g., m_xgboost).

params

A list that includes key-values for different parameters. Only relevant parameters will be extracted, others will be ignored.

nthread

Number of threads available to be used by external libraries (in case they can use it).

Value

Returns A Boolean value. TRUE if the modified library for the given library is implemented; otherwise, it returns FALSE. This function is called for side effects.


CausalGPS documentation built on Feb. 7, 2022, 5:12 p.m.