ConditionReduct-class: Class '"ConditionReduct"'

Description Objects from the Class Slots Methods Note Author(s) References See Also Examples

Description

A condition reduct is a decision table where the superfluous conditions have been removed. This object can be created by the users, but it suggested its creation by the use of the methods provided by a Decision Table object.

Objects from the Class

Objects can be created by calls of the form new("ConditionReduct", decisionTable, columnIds). A decisionTable is a numeric matrix where each row is a rule. The matrix last column is the decision of the rules and the remaining columns are rule conditions. The columnIds is a numeric vector with the position of the column which conform the condition reduct. This object can be created by the users, but it is preferred its creation by the use of the methods provided by a Decision Table object.

Slots

decisionTable:

Object of class "DecisionTable"

columnIds:

Object of class "numeric"

Methods

computeValueReduct

signature(object = "ConditionReduct"): ...

getColumnIds

signature(object = "ConditionReduct"): ...

getConditionReduct

signature(object = "ConditionReduct"): ...

getConditionReductDecisionTable

signature(object = "ConditionReduct"): ...

initialize

signature(.Object = "ConditionReduct"): ...

isConditionReduct

signature(object = "ConditionReduct"): ...

print

signature(x = "ConditionReduct"): ...

removeDuplicatedRulesCR

signature(object = "ConditionReduct"): ...

show

signature(object = "ConditionReduct"): ...

Note

This is not a complete implementation of Rough Set theory; instead it is just the application of the theory to decision table simplification also known as knowledge reduction.

Author(s)

Alber Sanchez

References

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

See Also

DecisionTable DiscernibilityMatrix ValueReduct

Examples

1
2
3
4
5
6
7
8
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)
dt <- new(Class="DecisionTable",decisionTable = exampleMatrix2)
cr1 <- conditionReduct(dt,c(1,2,4,5))
isConditionReduct(cr1) == TRUE# Test if cr1 actually is a condition reduct of dt
cr2 <- findFirstConditionReduct(dt)# Gets the first found condition reduct in dt
listCr1 <- findSmallestReductFamilyFromCore(dt)# Gets a set of the least condition reducts of dt
listCr2 <- findAllReductsFromCore(dt)# Gets all the reducts from dt

albhasan/RoughSetKnowledgeReduction documentation built on May 11, 2019, 10:29 p.m.