Description Usage Arguments Value Author(s) References See Also Examples
It checks if the rules in a Decision Table object are consistent or inconsistent. 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.
1 | checkConsistency(object)
|
object |
A Decision Table object |
It returns a boolean vector indicating which rules are inconsistent or contradictory in the decision table given. It is a summary of the consistency matrix.
Alber Sanchez alber.sanchez@uni-muenster.de
Pawlak, Zdzislaw 1991 Rough Sets: Theoretical Aspects of Reasoning About Data Dordrecht: Kluwer Academic Publishing.
DecisionTable-class
,computeConsistencyMatrix
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)
ruleConsistencyDT <- new(Class="DecisionTable",decisionTable = exampleMatrix1)
ruleConsistencyResults <- checkConsistency(ruleConsistencyDT)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.