Learn R Programming

RoughSets (version 1.1-0)

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 class 'RuleSetRST':
summary(object, ...)

Arguments

object
a "RuleSetRST" object. See RI.indiscernibilityBasedRules.RST.
...
the other parameters.

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)".

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