| bayesCaret {mmb} | R Documentation | 
Provides a caret-compatible wrapper around functionality for classification and regression, as implemented by mmb.
Description
A wrapper to be used with the package/function caret::train().
Supports regression and classification and an extensive default grid.
Usage
bayesCaret
Format
An object of class list of length 7.
Author(s)
Sebastian Hönel sebastian.honel@lnu.se
Examples
trainIndex <- caret::createDataPartition(
  iris$Species, p = .8, list = FALSE, times = 1)
train <- iris[ trainIndex, ]
test  <- iris[-trainIndex, ]
fitControl <- caret::trainControl(
  method = "repeatedcv", number = 2, repeats = 2)
fit <- caret::train(
  Species ~ ., data = train, method = mmb::bayesCaret,
  trControl = fitControl)
[Package mmb version 0.13.3 Index]