Description Details Public fields Methods
A decision rule is an implication extracted from an information table.
A decision rule is made up of a complex condition and class assignments. For STAT1 type of rules the conditions are lower bounds, and assignment goes to an upward class union. For STAT2 type of rules the conditions are upper bounds, and assignment goes to a downward class union.
conditionthe left-hand side of the implication - a complex condition
tthe right-hand side of the implication - t-parameter of class union(s)
typethe right-hand side of the implication - (class union or union of classes)
new()Create a new DecisionRule object.
DecisionRule$new(condition, t, type)
conditionthe complex condition
tthe t-parameter of the class union(s)
typethe type of the rule
isMinimal()Method to decide if this decision rule is minimal among the provided set of rules.
DecisionRule$isMinimal(it, rules)
itthe information table to use
rulesthe set of rules to check the minimality in
a boolean value
isWeaker()Method to decide if this decision rule is a weaker implication compared to the provided rule.
DecisionRule$isWeaker(it, rule)
itthe information table to use
rulethe rule to compare to
a boolean value
ruleMetrics()Method to calculate rule support, certainty, coverage, and strength
DecisionRule$ruleMetrics(it)
itthe information table to use
a named list of integers
print()print method.
DecisionRule$print()
getRHS_String()toString method for the RHS of the rule.
DecisionRule$getRHS_String()
toList()Method to convert this decision rule to a list, which can be merged into a dataframe for a list of decision rules.
DecisionRule$toList(it)
itthe information table to use
a named list with the LHS, RHS, and the metrics of this rule
toString()toString method.
DecisionRule$toString()
equals()Method to compare two DecisionRules
DecisionRule$equals(other)
otherthe other decision rule to compare to
a single boolean value
clone()The objects of this class are cloneable with this method.
DecisionRule$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.