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.
condition
the left-hand side of the implication - a complex condition
t
the right-hand side of the implication - t-parameter of class union(s)
type
the right-hand side of the implication - (class union or union of classes)
new()
Create a new DecisionRule object.
DecisionRule$new(condition, t, type)
condition
the complex condition
t
the t-parameter of the class union(s)
type
the type of the rule
isMinimal()
Method to decide if this decision rule is minimal among the provided set of rules.
DecisionRule$isMinimal(it, rules)
it
the information table to use
rules
the 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)
it
the information table to use
rule
the rule to compare to
a boolean value
ruleMetrics()
Method to calculate rule support, certainty, coverage, and strength
DecisionRule$ruleMetrics(it)
it
the 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)
it
the 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)
other
the 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)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.