Description Usage Arguments Details Value Author(s) See Also Examples
Boxplot method for error rate of each feature subset.
1 2 |
x |
An object of class |
... |
Additional arguments to the plot, such as |
This function is a method for the generic function boxplot()
for class
frankvali
. It plots the error rate of each feature subset.
Returns boxplot of class frankvali
.
Wanchang Lin
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | data(abr1)
dat <- abr1$pos[,110:500]
x <- preproc(dat, method="log10")
y <- factor(abr1$fact$class)
dat <- dat.sel(x, y, choices=c("1","2"))
x.1 <- dat[[1]]$dat
y.1 <- dat[[1]]$cls
pars <- valipars(sampling="cv",niter=2,nreps=4)
res <- frankvali(x.1,y.1,fs.method = "fs.rfe",fs.len = "power2",
cl.method = "knn",pars = pars)
res
summary(res)
boxplot(res)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.