createModel: fit a model

Description Usage Arguments Value

Description

almost identical to caret::createModel

Usage

1
2
createModel(x, y, wts, method, tuneValue, obsLevels, pp = NULL,
  last = FALSE, classProbs, ...)

Arguments

x

Design matrix

y

Response vector

wts

Weights of samples

method

Model information. See getModelInfo

tuneValue

A one row data frame containing tuning parameter values

obsLevels

Class labels for classification

pp

PreProcess object

last

A logical for whether the current fit is the final fit

classProbs

Should classProbs be computed

...

Additional paramters other than tuning parameters passed to model fitting methods

Value

A list of model fitting object and a preProcess object


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