Data Mining Algorithms In R/Packages/RWeka/Weka control

From Wikibooks, open books for an open world
Jump to: navigation, search

Description[edit]

Set control options for Weka learners.

Usage[edit]

Weka_control(...)

Arguments[edit]

Arguments of control options.

Details[edit]

The available options for a Weka learner, foo() say, can be queried by WOW(foo) and then conveniently set by Weka_control().

Value[edit]

A list of class Weka_control which can be coerced to character for passing it to Weka.

Example[edit]

   J48(Species ~ ., data = iris)
   J48(Species ~ ., data = iris, control = Weka_control(R =            TRUE, M = 5))