bestMpTuneModel: methods for 'bestMpTuneModel', 'resampleMpTune'

Description Usage Arguments Details Value See Also

Description

predict, print and resample consistency checking methods for 'bestMpTuneModel', 'resampledMpTune'

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## S3 method for class 'bestMpTuneModel.formula'
predict(object, newdata, type = c("raw",
  "prob"), ...)

## S3 method for class 'bestMpTuneModel'
predict(object, newdata, type = c("raw", "prob"),
  ...)

## S3 method for class 'bestMpTuneModel'
print(x, digits = 4, row.names = FALSE, ...)

## S3 method for class 'resampledMpTune'
print(x, digits = 4, ...)

checkConsistency(object)

Arguments

object

A 'bestMpTuneModel' or 'resampleMpTune'

newdata

A new design matrix if object is 'bestMpTuneModel' or a new data frame if object is 'bestMpTuneModel.formula'

type

A string indicated type of prediction, only for classification and possibly survival.

...

Just for campatibility

x

A 'bestMpTuneModel' or 'resampleMpTune'

digits

Number of effective digits to keep for numeric variables

row.names

Should row names / numbers be printed

Details

For predict, it depends on problem types and models,

. Function checkConsistency checks on the consistency of resampling in 'resampledMpTune

Value

prediction vector or matrix, performance summary, consistency indicators

See Also

See mpTune for examples


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