plot.cv.dcsvm {dcsvm} | R Documentation |
Plot the Cross-Validation Curve of Sparse Density-Convoluted SVM
Description
Depicts the cross-validation curves for the sparse density-convoluted SVM.
Usage
## S3 method for class 'cv.dcsvm'
plot(x, sign.lambda, ...)
Arguments
x |
A fitted |
sign.lambda |
Specifies whether to plot against |
... |
Other graphical parameters to |
Details
Plot the Cross-Validation Curve of Sparse Density-Convoluted SVM
Plots the cross-validation curve against a function of lambda
values, including upper and lower standard deviation curves.
This function visualizes the cross-validation curves for a cv.dcsvm
object, which plots the relationship between lambda
values and cross-validation error.
Value
No return value, only called for plots.
See Also
Examples
data(colon)
colon$x <- colon$x[ ,1:100] # Use only the first 100 columns for this example
set.seed(1)
cv <- cv.dcsvm(colon$x, colon$y, lam2=1, nfolds=5)
plot(cv)
[Package dcsvm version 0.0.1 Index]