The algorithms find weights of discrete attributes basing on very simple association rules involving only one attribute in condition part.
Usage
oneR(formula, data)
Value
a data.frame containing the worth of attributes in the first column and their names as row names
Arguments
formula
a symbolic description of a model
data
data to process
Author
Piotr Romanski
Details
The algorithm uses OneR classifier to find out the attributes' weights. For each attribute it creates a simple rule based only on that attribute and then calculates its error rate.