Learn R Programming

RoughSetKnowledgeReduction (version 0.1)

computeValueReduct: COMPUTE VALUE REDUCT

Description

It computes the Value Reduct object of the Condition Reduct object. In other words, it removes the superfluous conditions of each rule in the Condition Reduct object.

Usage

computeValueReduct(object)

Arguments

object
A Condition Reduct object

Value

References

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

See Also

ConditionReduct-class,ValueReduct-class,classifyDecisionTable

Examples

Run this code
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)
cr <- new(Class="ConditionReduct",decisionTable = dt,columnIds=c(1,2,4,5))
vr <- computeValueReduct(cr)

Run the code above in your browser using DataLab