runSVM: Fit a SupportVectorMachines model.

Description Usage Arguments Value

View source: R/machinelearning.R

Description

This function runs support vector machines (SVM) using a SummarizedExperiment object. Credit base code: Sean Maden.

Usage

1
runSVM(seed, kerneltype = "linear", seset, weightfilt = FALSE)

Arguments

seed

Set a random seed for the SVM run.

kerneltype

Choose the kernel type for the SVM run.

weightfilt

False or numeric float. Float specifies the fraction of absolute weights to retain in the fitted model.

sest

A valid SummarizedExperiment object, including variable for test and training subsets.

Value

A 'resultslist' object containing the fitted model, predictions, and performacne metrics.


metamaden/cmlmanuscript documentation built on Dec. 12, 2019, 7:53 a.m.