Weka_converters

0th

Percentile

R/Weka File Loaders and Savers

R interfaces to Weka file loaders and savers.

Keywords
file
Usage
C45Loader(file)
XRFFLoader(file)
C45Saver(x, file, control = NULL)
XRFFSaver(x, file, control = NULL)
Arguments
file
a non-empty character string naming a file to read from or write to.
x
the data to be written, preferably a matrix or data frame. If not, coercion to a data frame is attempted.
control
an object of class Weka_control, or a character vector of control options, or NULL (default). Available options can be obtained on-line using the Weka Option Wizard
Details

C45Loader and C45Saver use the format employed by the C4.5 algorithm/software, where data is stored in two separate .names and .data files.

XRFFLoader and XRFFSaver handle XRFF (eXtensible attribute-Relation File Format, an XML-based extension of Weka's native Attribute-Relation File Format) files.

Value

  • Invisibly NULL for the savers.

    A data frame containing the data from the given file for the loaders.

See Also

read.arff, write.arff.

Aliases
  • C45Loader
  • XRFFLoader
  • C45Saver
  • XRFFSaver
Documentation reproduced from package RWeka, version 0.4-3, License: GPL-2

Community examples

Looks like there are no examples yet.