View source: R/BasicRoughSets.R
BC.LU.approximation.RST | R Documentation |
This function implements a fundamental part of RST: computation of lower and upper approximations. The lower and upper approximations determine whether the objects can be certainty or possibly classified to a particular decision class on the basis of available knowledge.
BC.LU.approximation.RST(decision.table, IND)
decision.table |
an object inheriting from the |
IND |
an object inheriting from the |
This function can be used as a basic building block for development of other RST-based methods.
A more detailed explanation of this notion can be found in Introduction-RoughSets
.
An object of a class "LowerUpperApproximation"
which is a list with the following components:
lower.approximation
: a list with indices of data instances included in lower approximations of decision classes.
upper.approximation
: a list with indices of data instances included in upper approximations of decision classes.
type.model
: a character vector identifying the type of model which was used.
In this case, it is "RST"
which means the rough set theory.
Andrzej Janusz
Z. Pawlak, "Rough Sets", International Journal of Computer and Information Sciences, vol. 11, no. 5, p. 341 - 356 (1982).
BC.IND.relation.RST
, BC.LU.approximation.FRST
#######################################
data(RoughSetData)
hiring.data <- RoughSetData$hiring.dt
## We select a single attribute for computation of indiscernibility classes:
A <- c(2)
## Compute the indiscernibility classes:
IND.A <- BC.IND.relation.RST(hiring.data, feature.set = A)
## Compute the lower and upper approximations:
roughset <- BC.LU.approximation.RST(hiring.data, IND.A)
roughset
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.