computeConsistencyMatrix: COMPUTE CONSISTENCY MATRIX

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

View source: R/DecisionTable.R

Description

It computes the consistency matrix of a decision table object. A Consistency Matrix object is made of each rule consistency check against the other rules in a Decision Table object. A couple of rules are inconsistent if they have the same conditions and different decision; if they have the same decision they are consistent; if they have different conditions no matter the decision they are consistent.

Usage

1

Arguments

object

A Decision Table object

Value

It returns a boolean diagonal matrix indicating inconsistency between rules. It must be interpreted by columns.

Author(s)

Alber Sanchez [email protected]

References

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

See Also

DecisionTable-class,checkConsistency

Examples

1
2
3
4
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)
conMatDT <- new(Class="DecisionTable",decisionTable = exampleMatrix1)
conMat <- computeConsistencyMatrix(conMatDT)

RoughSetKnowledgeReduction documentation built on May 30, 2017, 8:13 a.m.