SVM_MODEL: k-fold cross validation of SVM

Description Usage Arguments Value Author(s)

View source: R/SVM_MODEL.R

Description

Cross validation of SVM model.

Usage

1
2
3
4
5
SVM_MODEL(X,
          Y,
          kernel="radial",
          kfold=5,
          seed=1234)

Arguments

data

Sample-by-matrix metabolomics data.

Y

group of the samples.

kernel

kernel function, the default is radial.

kfold

Specify the fold of the cross validation, the default is 5-fold cross validation.

seed

seed to repeat the process.

Value

A list containing the AUC value of predictive values.

Author(s)

Kui deng dengkui_stat@163.com


dengkuistat/WaveICA documentation built on Nov. 6, 2021, 6:21 p.m.