transport_control {transportr}R Documentation

Set Estimation Parameters

Description

Defines default parameters for estimators in the 'transport' package.

Usage

transport_control(
  .learners_folds = NULL,
  .bound = 1e+05,
  .return_full_fits = FALSE,
  .discrete = FALSE,
  .info = FALSE
)

Arguments

.learners_folds

[integer(1)]
The number of cross-validation folds for fitting nuisance parameters.

.bound

[numeric(1)]
Determines that maximum and minimum values binomial predictions will be bounded by. The default is 1e-5, bounding predictions by 1e-5 and 0.9999.

.return_full_fits

[logical(1)]
Return full 'mlr3superlearner' fits? Default is FALSE, return only 'mlr3superlearner' weights.

.discrete

[logical(1)]
Use discrete or ensemble super learner? Default is FALSE.

.info

[logical(1)]
Print super learner fitting info to the console? Default is FALSE.

Value

A list with parameter values.

Examples

transport_control(.learners_folds = 10)

[Package transportr version 0.1.0 Index]