plot.cv.gcdclust: plot the cross-validation curve produced by cv.gcdclust

Description Usage Arguments Details References See Also Examples

View source: R/plot.cv.gcdclust.R

Description

Plots the cross-validation curve, and upper and lower standard deviation curves, as a function of the lambda values used. This function is modified based on the plot.cv function from the glmnet package.

Usage

1
2
## S3 method for class 'cv.gcdclust'
plot(x, sign.lambda, ...)

Arguments

x

fitted cv.gcdclust object

sign.lambda

either plot against log(lambda) (default) or its negative if sign.lambda=-1.

...

other graphical parameters to plot

Details

A plot is produced.

References

HHSVM - CEN An efficient algorithm of calculating the solutions paths of hhsvm Friedman, J., Hastie, T., and Tibshirani, R. (2010), "Regularization paths for generalized linear models via coordinate descent," Journal of Statistical Software, 33, 1.
http://www.jstatsoft.org/v33/i01/

See Also

cv.gcdclust.

Examples

1
2
3
4
5
data(test)
x=test$x
y=test$y
cv=cv.gcdclust(x,y,KK=3,lambda2=1)
plot(cv)

KarimOualkacha/HHSVM-ClusterNet documentation built on Feb. 24, 2018, 11:28 a.m.