Description Usage Arguments Value Author(s) Examples
View source: R/RuleInduction.R
Functions for extracting quality indices of rules.
1 2 3 4 | RI.laplace(rules, ...)
RI.support(rules, ...)
RI.confidence(rules, ...)
RI.lift(rules, ...)
|
rules |
a |
... |
the other parameters (currently omitted). |
A numeric vector with values of the corresponding quality measure.
Andrzej Janusz
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ###########################################################
## Example : Filtering a set of decision rules
###########################################################
data(RoughSetData)
hiring.data <- RoughSetData$hiring.dt
rules <- RI.LEM2Rules.RST(hiring.data)
rules
# a vector of rules' Laplace estimate of the confidence:
RI.laplace(rules)
# a vector of rules' confidence values:
RI.confidence(rules)
# subsetting a set of rules:
rules[RI.support(rules) > 0.2]
rules[RI.lift(rules) < 1.5]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.