run.SVM: Wraper for running svm

run.SVMR Documentation

Wraper for running svm

Description

Wraper for running svm

Usage

run.SVM(xdata, xlabel, ydata, kern = "linear")

Arguments

xdata

data frame or matrix; data used for training, with sample id in rows and variables in columns

xlabel

factor; classification label of the samples, with length equal to the number of rows in xdata

ydata

data frame or matrix; data to be predicted the label, same format as xdata

kern

character; which kernel to use, can be one of linear, polynomial, radial and sigmoid (default: "linear")

Value

List with the following elements:

ylabel

ppredicted labels of the samples in ydata

rfsel

trained model; output of varSelRF()


Japrin/sscClust documentation built on Dec. 15, 2022, 1:04 p.m.