Description Usage Arguments Examples
Aggregates hold-out predictions which have been
extracted from a trainOcc
object with the function holdOutPredictions
.
1 2 |
x |
an object of class |
... |
currently unused. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
toy <- threeGaussians()
index <- createResample(toy$tr[, 1], times=2)
oc <- trainOcc(x=toy$tr[, -1], y=toy$tr[, 1],
index=index,
tuneGrid=expand.grid(sigma=c(0.1,1), ### not so large grid
cNeg=2^seq(-5, -5, 5),
cMultiplier=2^seq(4, 12, 4)))
hop <- holdOutPredictions(oc)
boxplot(list(pos.r1=hop$pos$Resample1, pos.r2=hop$pos$Resample2,
un.r1=hop$un$Resample1, un.r2=hop$un$Resample2))
hop.agg <- aggregate(hop)
boxplot(list(pos=hop.agg$pos, un=hop.agg$un))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.