classifyDecisionTable: CLASSIFY DECISION TABLE

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

Description

It applies the Value Reduct object rules to a Decision Table object. It returns an object with new decisions for the rules in the Decision Table object.

Usage

1

Arguments

object

A Value Reduct object

decisionTable

A Decision Table object

Value

It returns a Decision Table object which rules have the same conditions of input DT object but the rule decisions of the Value Reduct rules where they match.

Author(s)

Alber Sanchez alber.sanchez@uni-muenster.de

References

Pawlak, Zdzislaw 1991 Rough Sets: Theoretical Aspects of Reasoning About Data Dordrecht: Kluwer Academic Publishing.

See Also

ValueReduct-class,DecisionTable-class

Examples

1
2
3
4
5
6
7
8
9
exampleMatrix1 <- matrix(c(1,0,2,1,1,2,2,0,0,1,0,1,0,2,1,
1,2,1,0,0,2,0,1,1,2,1,1,2,0,1,1,0,0,2,1,2,1,1,2,1),ncol = 5)
exampleMatrix2 <- matrix(c(1,1,0,1,1,2,2,0,0,0,1,1,1,2,0,0,
0,0,0,0,2,1,0,0,1,2,2,2,1,1,0,0,2,2,2),ncol = 5)
dt1 <- new(Class="DecisionTable",decisionTable = exampleMatrix1)
dt2 <- new(Class="DecisionTable",decisionTable = exampleMatrix2)
vr1 <- simplifyDecisionTable(dt1)
dt3 <- classifyDecisionTable(vr1,dt2)#It classifies dt2 with the rules obtained from dt1
dt3 <- removeDuplicatedRulesDT(dt3)

Example output



RoughSetKnowledgeReduction documentation built on May 2, 2019, 4 p.m.