getTrainTestObjFun: getTrainTestObjFun

View source: R/getTrainTestObjFun.R

getTrainTestObjFunR Documentation

getTrainTestObjFun

Description

Generate objective functions (one for train, optionally one for test)

Usage

getTrainTestObjFun(
  rkiwerte = babsim.hospital::rkidata,
  icuwerte = babsim.hospital::icudata,
  region = 5374,
  TrainSimStartDate = Sys.Date() - 12 * 7,
  TrainFieldStartDate = Sys.Date() - 8 * 7,
  TestSimStartDate = Sys.Date() - 8 * 7,
  TestFieldStartDate = Sys.Date() - 4 * 7,
  verbosity = 0,
  parallel = FALSE,
  percCores = NULL,
  icu = TRUE,
  icuWeights = c(1, 1),
  resourceNames = c("intensiveBed", "intensiveBedVentilation"),
  resourceEval = c("intensiveBed", "intensiveBedVentilation"),
  tryOnTestSet = FALSE,
  simRepeats = 1
)

Arguments

rkiwerte

RKI Daten

icuwerte

ICU Daten

region

Landkreis Id, e.g., 5374 fuer OBK, 5315 fuer Koeln, 0 fuer Deutschland, oder Bundesland ID, e.g., 5 fuer NRW.

TrainSimStartDate

Start (Tag), e.g., '2020-05-01'

TrainFieldStartDate

Start (Tag), e.g., '2020-06-01'

TestSimStartDate

Start (Day), e.g., '2020-05-01' for test simulation data, TestSimStartDate is usually before TestFieldStartDate

TestFieldStartDate

Start (Day), e.g., '2020-06-01' for test field data

verbosity

verbosity (int). Default: 0

parallel

logical

percCores

percentage

icu

ICU Daten

icuWeights

Gewichtung der ICU Betten

resourceNames

Name der Ressourcen

resourceEval

Name der zu evaluierenden Ressourcen

tryOnTestSet

Should results be tested on a separate test set?. Default FALSE.

simRepeats

Number of simulation repeats on each kernel (only on unix-like machines, ignored on Win systems). Default: 1


babsim.hospital documentation built on May 30, 2022, 9:05 a.m.