Description Usage Arguments Examples
Plot the cross-validation curve
1 2 |
x |
The returned object of function |
... |
Other parameters |
1 2 3 4 5 6 7 8 | #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.