Learn R Programming

RoughSets (version 1.3-8)

summary.RuleSetRST: The summary function of rules based on RST

Description

This function enables the output of a summary of the rule induction methods.

Usage

# S3 method for RuleSetRST
summary(object, ...)

Value

a description that contains the following information:

  • The type of the considered model.

  • The type of the considered method.

  • The type of the considered task.

  • The rules. Every rule constitutes two parts which are IF and THEN parts. For example, "IF pres is around 90 and preg is around 8 THEN class is 2; (support=4;laplace=0.67)".

Arguments

object

a "RuleSetRST" object. See RI.indiscernibilityBasedRules.RST.

...

the other parameters.

Author

Lala Septem Riza and Andrzej Janusz

Examples

Run this code
###########################################################
## Example : Classification problem
###########################################################
data(RoughSetData)
decision.table <- RoughSetData$hiring.dt

## determine feature subset/reduct
reduct <- FS.permutation.heuristic.reduct.RST(decision.table,  permutation = NULL)

rules <- RI.indiscernibilityBasedRules.RST(decision.table, reduct)

summary(rules)

Run the code above in your browser using DataLab