Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

LinearSVM

Linear SVM Classifier


Description

Implementation of the Linear Support Vector Classifier. Can be solved in the Dual formulation, which is equivalent to SVM or the Primal formulation.

Usage

LinearSVM(X, y, C = 1, method = "Dual", scale = TRUE, eps = 1e-09,
  reltol = 1e-13, maxit = 100)

Arguments

X

matrix; Design matrix for labeled data

y

factor or integer vector; Label vector

C

Cost variable

method

Estimation procedure c("Dual","Primal","BGD")

scale

Whether a z-transform should be applied (default: TRUE)

eps

Small value to ensure positive definiteness of the matrix in QP formulation

reltol

relative tolerance using during BFGS optimization

maxit

Maximum number of iterations for BFGS optimization

Value

S4 object of type LinearSVM

See Also


RSSL

Implementations of Semi-Supervised Learning Approaches for Classification

v0.9.3
GPL (>= 2)
Authors
Jesse Krijthe [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.