View source: R/tropsvm_helper.R
tropsvm_helper | R Documentation |
cv.tropsvm
Helper for cv.tropsvm
tropsvm_helper(x, y, assignment = NULL, ind = 1, newx = NULL, newy = NULL)
x |
a data matrix, of dimension nobs x nvars; each row is an observation vector. |
y |
a response vector with one label for each row/component of x. |
assignment |
a numeric vector of length 4 indicating the sectors of tropical hyperplane that the
data will be assigned to. The first and third elements in the |
ind |
a numeric value or a numeric vector ranging from 1 to 70 indicating which classification method
to be used. There are 70 different classification methods. Details of a given method can be retrieved by |
newx |
the same as "x" but only needed in |
newy |
the same as "y" but only needed in |
Classification accuracy
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.