Learn R Programming

RoughSetKnowledgeReduction (version 0.1)

DecisionTable-class: Class "DecisionTable"

Description

A decision table is a set of rules with the same number of conditions and only one decision.

Arguments

Objects from the Class

Objects can be created by calls of the form new("DecisionTable", decisionTable). A decisionTable is a numeric matrix where each row is a ruleThe matrix last column is the decision of the rules and the remaining columns are rule conditions.

Slots

decisionTable:
Object of class "matrix"

Methods

checkConsistency
signature(object = "DecisionTable"): ...
computeConsistencyMatrix
signature(object = "DecisionTable"): ...
computeDiscernibilityMatrix
signature(object = "DecisionTable"): ...
findAllReductsFromCore
signature(object = "DecisionTable"): ...
findFirstConditionReduct
signature(object = "DecisionTable"): ...
findSmallestReductFamilyFromCore
signature(object = "DecisionTable"): ...
getCondition
signature(object = "DecisionTable"): ...
getDecision
signature(object = "DecisionTable"): ...
getDecisionTable
signature(object = "DecisionTable"): ...
getRule
signature(object = "DecisionTable"): ...
initialize
signature(.Object = "DecisionTable"): ...
print
signature(x = "DecisionTable"): ...
removeDuplicatedRulesDT
signature(object = "DecisionTable"): ...
show
signature(object = "DecisionTable"): ...
simplifyDecisionTable
signature(object = "DecisionTable"): ...

References

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

See Also

DiscernibilityMatrix ConditionReduct ValueReduct

Examples

Run this code
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)
dt <- decisionTable(exampleMatrix1)

Run the code above in your browser using DataLab