summary.OneR {OneR} | R Documentation |
Summarize OneR models
Description
summary
method for class OneR
.
Usage
## S3 method for class 'OneR'
summary(object, ...)
Arguments
object |
object of class |
... |
further arguments passed to or from other methods. |
Details
Prints the rules of the OneR model, the accuracy, a contingency table of the feature attribute and the target and performs a chi-squared test on this table.
In the contingency table the maximum values in each column are highlighted by adding a '*', thereby representing the rules of the OneR model.
Author(s)
Holger von Jouanne-Diedrich
References
See Also
Examples
model <- OneR(iris)
summary(model)
[Package OneR version 2.2 Index]