Description Usage Arguments Details Value References Examples
This function is used to choce the best lambda.min that gives the minimum error of classification
1 | cv.gcdclust(x, y, KK, lambda = NULL, pred.loss = c("misclass", "loss"), nfolds = 5, foldid, delta = 2, ...)
|
object |
fitted |
s |
value(s) of the penalty parameter |
This function makes cross-validation to get lambda.min.
Result of cross validation
HHSVM-CEN
1 2 3 4 | data(test)
x=test$x
y=test$y
cv=cv.gcdclust(x,y,KK=3,lambda2=1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.