plot.cvMTL | R Documentation |
Plot the cross-validation curve
## S3 method for class 'cvMTL' plot(x, ...)
x |
The returned object of function |
... |
Other parameters |
#create the example data data<-Create_simulated_data(Regularization="L21", type="Classification") #perform the cv cvfit<-cvMTL(data$X, data$Y, type="Classification", Regularization="L21", Lam2=0, opts=list(init=0, tol=10^-6, maxIter=1500), nfolds=5, stratify=TRUE, Lam1_seq=10^seq(1,-4, -1)) #plot the curve plot(cvfit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.