BC.discernibility.positive.mat.RST: Computation of a positive decision-relative discernibility...

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

View source: R/FeatureSelection.Experimental.R

Description

This function implements a positive decision-relative discernibility matrix. This notion was proposed by (Sikora et al.) as a middle-step in many RST algorithms for computaion of reducts, discretization and rule induction in a case when the discernibility of objects from the positive class by positive attribute values is more desirable than by the negative ones. The implementation currently works only for binary decision system (all attributes, including the decision must be binary and the positive value is marked by "1").

Usage

1
2
3
4
5
BC.discernibility.positive.mat.RST(
  decision.table,
  return.matrix = FALSE,
  attach.data = FALSE
)

Arguments

decision.table

an object inheriting from the DecisionTable class, which represents a decision system. See SF.asDecisionTable.

return.matrix

a logical value determining whether the discernibility matrix should be retunred in the output. If it is set to FALSE (the default) only a list containing unique clauses from the CNF representation of the discernibility function is returned.

attach.data

a logical indicating whether the original decision table should be attached as an additional element of the resulting list named as dec.table.

Value

An object of a class DiscernibilityMatrix which has the following components:

Author(s)

Andrzej Janusz and Dominik Slezak

References

TO BE ADDED

See Also

BC.IND.relation.RST, BC.LU.approximation.RST, BC.LU.approximation.FRST and BC.discernibility.mat.FRST

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
###############################################################################
## Example 1: Constructing the positive decision-relative discernibility matrix
###############################################################################
data(RoughSetData)
binary.dt <- RoughSetData$binary.dt

## building the decision-relation discernibility matrix
disc.matrix <- BC.discernibility.positive.mat.RST(binary.dt, return.matrix = TRUE)
disc.matrix$disc.mat

## compute all classical reducts
classic.reducts <- FS.all.reducts.computation(BC.discernibility.mat.RST(binary.dt))
head(classic.reducts$decision.reduct)
cat("A total number of reducts found: ", 
    length(classic.reducts$decision.reduct), "\n", sep = "")
classic.reducts$core

## compute all positive reducts
positive.reducts <- FS.all.reducts.computation(disc.matrix)
head(positive.reducts$decision.reduct)
cat("A total number of positive reducts found: ", 
    length(positive.reducts$decision.reduct), "\n", sep = "")
print("The core:")
positive.reducts$core

janusza/RoughSets documentation built on Jan. 26, 2020, 11:22 p.m.