Description Details Public fields Methods
An information table consists of the decision table and meta-data.
This class stores the decision table, and meta-data. The decision table consists of an object identifier column, a decision column, and at least one additional attribute. The meta-data consist of the attribute names, their types, and the alpha and beta values for similarity attributes.
decisionTablethe set of examples
metaDatameta-data of the attributes, including their name and type, along with alpha and beta parameters for similarity variables
objectsvector of object names
new()Create a new information table object.
InformationTable$new(decisionTable, metaData = NA)
decisionTabledata frame containing the decision examples
metaDatadata frame containing the meta-data of the attributes. This parameter is optional, and if not provided, we assume all dominance attributes.
isCompatible()Method to determine whether another information table is compatible with this one.
InformationTable$isCompatible(it)
itthe information table to compare to
getType()Method to get the type of an attribute.
InformationTable$getType(attribute)
attributethe name of the attribute
the type
removeObjects()Method for creating a new information table by removing examples of belonging to the specified objects.
InformationTable$removeObjects(objects)
objectsthe object to filter out
a new information table instance
downwardClassUnion()Method for calculating the downward class union.
InformationTable$downwardClassUnion(class)
classthe decision class to compare to
the set of objects in the downward class union
upwardClassUnion()Method for calculating the upward class union.
InformationTable$upwardClassUnion(class)
classthe decision class to compare to
the set of objects in the upward class union
encodeDecisionColumn()Method for encoding the decision column to the 1:N range, where N is the cardinality of this column.
InformationTable$encodeDecisionColumn()
the encoded decision column
decodeDecisions()Method for decoding 1:N-encoded decisions.
InformationTable$decodeDecisions(encoded)
encodeda vector of encoded decisions
a vector with the decoded decisions
classUnions()Method for calculating all downward- and upward class unions at once.
InformationTable$classUnions()
a pair of matrices for both class unions, where each row represents a class, and each column represents an object
partitionAttributes()Method that partitions attribute set P into into sets of the same attribute type. Only types relevant for the dominance relation are considered (indiscernibility, similarity, and dominance).
InformationTable$partitionAttributes(P)
Pthe set of attributes to partition - vector of attribute names
a list of attribute sets Function to determine whether x dominates y on the mixed attribute set P.
dominates()InformationTable$dominates(x, y, P, compareSimilaritySwitched = FALSE)
xthe left operand - object name
ythe right operand - object name
Pthe set of attributes to test - vector of attribute names
compareSimilaritySwitchedwhether to test similarity with the parameters switched
whether x dominates y on attribute set P
dominatingAndDominatedSets()Method for calculating the P-dominated and P-dominating sets all at once.
InformationTable$dominatingAndDominatedSets(P)
Pthe set of attributes to test - vector of attribute names Method to determine whether x is similar to y on attribute q.
similar()InformationTable$similar(x, y, q)
xthe left operand - a data frame
ythe right operand - a data frame
qthe attribute to test
whether x is similar to y on attribute q
dominatingSet()This method calculates the dominating set of an object with respect to a criterion set.
InformationTable$dominatingSet(x, P, compareSimilaritySwitched = TRUE)
xthe object - object name
Pthe criterion set
compareSimilaritySwitchedwhether to test similarity with the parameters switched
the set of objects that dominate object x
dominatedSet()This method calculates the dominated set of an object with respect to a criterion set.
InformationTable$dominatedSet(x, P, compareSimilaritySwitched = FALSE)
xthe object - object name
Pthe criterion set
compareSimilaritySwitchedwhether to test similarity with the parameters switched
the set of objects that are dominated by object x
upwardClassUnionUpperApproximation()This method calculates the P-upper approximations of the upward class unions.
InformationTable$upwardClassUnionUpperApproximation(dominating_U)
dominating_Uthe P-dominating sets (U) - matrix
the approximations for all classes in a boolean matrix from
upwardClassUnionLowerApproximation()This method calculates the P-lower approximations of the upward class unions.
InformationTable$upwardClassUnionLowerApproximation(downward_U)
downward_Uthe P-upper approximations of the downward class unions - matrix
the approximations for all classes in a boolean matrix from
downwardClassUnionUpperApproximation()This method calculates the P-upper approximations of the downward class unions.
InformationTable$downwardClassUnionUpperApproximation(dominated_U)
dominated_Uthe P-dominated sets (U) - matrix
the approximations for all classes in a boolean matrix from
downwardClassUnionLowerApproximation()This method calculates the P-lower approximations of the downward class unions.
InformationTable$downwardClassUnionLowerApproximation(upward_U)
upward_Uthe P-upper approximations of the upward class unions - matrix
the approximations for all classes in a boolean matrix from
roughSets()This method calculates the P-lower and P-upper approximations of class unions and boundary regions.
InformationTable$roughSets(P)
Pthe attribute set
a named list of the approximations
boundaryRegions()This method calculates the boundary regions of rough sets.
InformationTable$boundaryRegions(roughSets)
roughSetsthe class union approximations.
the upward and downward boundary regions
accuracyOfApproximation()This method calculates the accuracy of the approximations of the class unions.
InformationTable$accuracyOfApproximation(roughSets)
roughSetsthe approximations
a pair of vectors describing the accuracy of the downward and upward class union approximations
qualityOfApproximation()This method calculates the quality of the approximations of the class unions.
InformationTable$qualityOfApproximation(boundaryRegions)
boundaryRegionsthe boundary regions of the rough set
a number expressing the ratio of all P-correctly sorted actions to all actions in the decision table
clone()The objects of this class are cloneable with this method.
InformationTable$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.