data(Credit)
if (FALSE) {
CVhE <- CVhybridEnsemble(x=Credit[1:200,names(Credit) != 'Response'],
y=Credit$Response[1:200],
verbose=TRUE,
RF.ntree=50,
KF.rp=1,
AB.iter=50,
NN.size=5,
NN.decay=0,
SV.gamma = 2^-15,
SV.cost = 2^-5,
SV.degree=2,
SV.kernel='radial')
summary(object=CVhE,stat='median')
summary(object=CVhE,stat='IQR')
#LaTeX table
#This code example shows how toppart and bottompart can be convenient if you want
#to concatenate multiple datasets (here six time the same dataset).
#Paste the output of this code in your LateX document:
cat(
summary(object=CVhE ,name="Credit", LateX=TRUE, toppart=TRUE),
summary(object=CVhE ,name="Credit", LateX=TRUE),
summary(object=CVhE, name="Credit", LateX=TRUE),
summary(object=CVhE ,name="Credit", LateX=TRUE),
summary(object=CVhE ,name="Credit", LateX=TRUE),
summary(object=CVhE ,name="Credit", LateX=TRUE, bottompart=TRUE) )
}
Run the code above in your browser using DataLab