R/train.R

#' Used to train the model
#' input: lrn, task
#' output: trained model( mod)



train<-function(lrn,task)
{
    mod <- mlr::train(lrn, task)
    return(mod)
}
urmanml/easyMLR documentation built on June 19, 2019, 5:09 a.m.