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

View source: R/IOFunctions.R

summary.RuleSetRSTR Documentation

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

Author(s)

Lala Septem Riza and Andrzej Janusz

Examples

###########################################################
## 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)

RoughSets documentation built on May 29, 2024, 7:34 a.m.