apply_model {tradeoffaucdim}R Documentation

Apply Model

Description

Apply model and create column with fit

Usage

apply_model(
  obj,
  models = c("SL.glm", "SL.rpart"),
  test_partition_prop = 0.2,
  perf_measure = "auc"
)

Arguments

obj

object returned from define_indepvars_outcome

models

models to be analyzed

test_partition_prop

test proportion

perf_measure

performance measure

Value

list with fit models and parameters

Examples

apply_model(obj2)


[Package tradeoffaucdim version 0.1.0 Index]