Description Usage Arguments Details Value Author(s) References Examples
If intercept=TRUE
, the data is not literally modified to include a
column of ones. However, this is conceptually what we do.
1 |
x |
The features matrix. |
y |
The 2-class response vector. Note that the groups must be +/- 1.
See |
intercept |
Should the model include an intercept term? |
k |
TODO, currently ignored |
lambda |
Regularization parameter. |
niter |
The number of iterations. |
Pegasos SVM solver.
An object of class pegasosSVM.
Drew Schmidt
Shalev-Shwartz, Shai, et al. "Pegasos: Primal estimated sub-gradient solver for svm." Mathematical programming 127.1 (2011): 3-30.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.