tuneTWIX {TWIX}R Documentation

Parameter Tuning.

Description

This function tunes hyperparameters minbuck and maxdepth.

Usage

tuneTWIX(formula, data = NULL, minbuck = seq(5, 20, by = 5), 
    xval = 10, runs = 10, trace.plot = TRUE) 

Arguments

formula formula of the form y ~ x1 + x2 + ..., where y must be a factor and x1,x2,... are numeric or factor.
data an optional data frame containing the variables in the model.
minbuck the sampling space for parameter minbuck.
xval number of cross-validations.
runs number of runs.
trace.plot Should trace plot be ploted?
... other parameters to be passed through to plotting functions.

See Also

plot.TWIX,TWIX

Examples

data(olives)
tuneTWIX(Region~.,data=olives[,1:9],minbuck=c(1,5,10,15,20,25),runs=2)

[Package TWIX version 0.2.4 Index]