mlearn: the MLHO ML training and testing

View source: R/mlearn.R

mlearnR Documentation

the MLHO ML training and testing

Description

the MLHO ML training and testing

Usage

mlearn(
  dat.train,
  dat.test,
  dems = NULL,
  save.model = FALSE,
  classifier = "glmboost",
  note = "mlho_terst_run",
  cv = "cv",
  nfold = 5,
  aoi = "label",
  multicore = FALSE,
  preProc = TRUE
)

Arguments

dat.train

training data

dat.test

testing data

dems

demographic variables

save.model

do you want to save the model?

classifier

the classification algorithm

note

add a descriptive word about your modeling

cv

cross validatio method

nfold

nfold cross validation folds

aoi

outcome of interest

multicore

do you want to parallelize the process?

preProc

preprocessig on the train data or not


hestiri/mlho documentation built on March 20, 2023, 11:04 p.m.