Learn R Programming

SDR (version 0.7.0.0)

save.keel: Saves a keel dataset into a KEEL dataset format file.

Description

This function exports a keel dataset stored in the R environment into a KEEL format file on the hard disk. This function can not save information about the fuzzy definition created by the function read.keel because the KEEL format does not define that kind of information.

Usage

save.keel(dataset, file)

Arguments

dataset
The keel object stored in R environment.
file
The file name (or path) to save the KEEL dataset.

Details

A KEEL data file must have the following structure:
  • @relation: Name of the data set
  • @attribute: Description of an attribute (one for each attribute)
  • @inputs: List with the names of the input attributes
  • @output: Name of the output attribute (Not used in this algorithms implementation)
  • @data: Starting tag of the data

The rest of the file contains all the examples belonging to the data set, expressed in comma sepparated values format.

References

J. Alcala-Fdez, A. Fernandez, J. Luengo, J. Derrac, S. Garcia, L. Sanchez, F. Herrera. KEEL Data-Mining Software Tool: Data Set Repository, Integration of Algorithms and Experimental Analysis Framework. Journal of Multiple-Valued Logic and Soft Computing 17:2-3 (2011) 255-287.

See Also

KEEL Dataset Repository (Standard Classification): http://sci2s.ugr.es/keel/category.php?cat=clas