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

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

Description[edit | edit source]

Set control options for Weka learners.

Usage[edit | edit source]


Arguments[edit | edit source]

Arguments of control options.

Details[edit | edit source]

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

Value[edit | edit source]

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

Example[edit | edit source]

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