summary.OneR: Summarize OneR models

Description Usage Arguments Details Author(s) References See Also Examples

Description

summary method for class OneR.

Usage

1
2
## S3 method for class 'OneR'
summary(object, ...)

Arguments

object

object of class "OneR".

...

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

https://github.com/vonjd/OneR

See Also

OneR

Examples

1
2
model <- OneR(iris)
summary(model)

OneR documentation built on May 2, 2019, 9:33 a.m.