more.mpTune: tune more models

Description Usage Arguments Value See Also

View source: R/more_mpTune.R

Description

tune more models using the same resampling setting and performance metric for fair comparison

Usage

1
2
3
4
5
## S3 method for class 'mpTune'
more(obj, x = obj$data[[1]], y = obj$data[[2]],
  weights = obj$data$weights, models, ...,
  gridLength = obj$config$gridLength[seq_along(models)],
  randomizedLength = obj$config$randomizedLength[seq_along(models)])

Arguments

obj

A 'mpTune' object

x

A design matrix or a formula

y

A response vector or a data.frame, which must be consistent with x

weights

Sample weigth

models

A vector of names from models in models.RData

...

Other arguments (expect 'mpTnControl') passed to 'mpTune'

gridLength

Grid length if using grid search for hyper-parameters (tuning parameters)

randomizedLength

Number of hyper-parameter configuration if randomizedSearch is available for models

Value

A 'mpTune' object with more models

See Also

See mpTune for examples


linxihui/lazyML documentation built on May 21, 2019, 6:39 a.m.