train_svm: Output SVM model results over multiple folds

Description Usage Arguments Value

View source: R/training.R View source: R/train_svm.R

Description

Output SVM model results over multiple folds

Usage

1
train_svm(folds, kernel, param, fold_avg = T)

Arguments

folds

A list of folds (training data)

kernel

The SVM kernel

param

A list of the parameters that can be passed to the SVM. Requires that the list names are the model's arguments.

fold_avg

Default TRUE. Returns the average RMSE and R2 for the set of folds. Set as F to retain individual performance.

Value

Either a data frame of the averaged results or a data frame of the individual performance on each fold.


awqx/qsarr documentation built on Oct. 2, 2021, 7:05 a.m.