SVM.optim: Implement the SVM function using optim()

Description Usage Arguments

View source: R/SVMOptimFunction.R

Description

Implement the SVM function using optim()

Usage

1
SVM.optim(x, y, cost, gradient, C, method)

Arguments

x

a matrix

y

a matrix of the classes

cost

the cost function

gradient

the gradient function

C

the hyperparameter C for SVM

method

the method to use in the optim() function. Here, we suggest L-BFGS-B or Nelder-Mead


KenanA95/Biostats615SVM documentation built on Dec. 23, 2021, 10:16 p.m.