Weka_control | R Documentation |
Set control options for Weka learners.
Weka_control(...)
... |
named arguments of control options, see the details and examples. |
The available options for a Weka learner, foo()
say, can be
queried by WOW(foo)
and then conveniently set by
Weka_control()
. See below for an example.
One can use lists for options taking multiple arguments, see the
documentation for SMO
for an example.
A list of class Weka_control
which can be coerced to
character
for passing it to Weka.
WOW
## Query J4.8 options: WOW("J48") ## Learn J4.8 tree on iris data with default settings: J48(Species ~ ., data = iris) ## Learn J4.8 tree with reduced error pruning (-R) and ## minimum number of instances set to 5 (-M 5): J48(Species ~ ., data = iris, control = Weka_control(R = TRUE, M = 5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.