Description Usage Arguments Value Examples
Fit an angle-based multicategory support vector machine with reinforced multicategory loss.
1 2 |
x |
A n x p data matrix, where n is the number of observations and p is the number of variables. |
K |
A kernel matrix computed from |
y |
A response vector with three and more labels. |
gamma |
The convex combination parameter of the loss function. |
lambda |
A regularization parameter to control a level of l_2-penalty. |
kernel |
A character string representing one of type of kernel. |
kparam |
A parameter needed for kernel. |
scale |
A logical indicating the variables to be scaled. |
type |
A type of optimization method for ramsvm. If |
... |
Other arguments that can be passed to ramsvm core function. |
An S3 object of class "ramsvm
" containing the following slots
x |
Input |
K |
Input |
y |
Input |
y_name |
The class labels of |
gamma |
The convex combination parameter of the loss function. |
n_class |
The number of classes. |
lambda |
Given regularization parameter. |
kernel |
Given type of kernel. |
kparam |
Given parameter for kernel. |
cmat |
The corresponding coefficients. |
c0vec |
The intercepts. |
alpha |
The Lagrange multipliers. |
fit_class |
Fitted class. |
epsilon |
Convergence tolerance in the ramsvm core algorithm. |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.