Description Usage Arguments Value Examples
Adds measures of rule quality (conviction, hyperConfidence, cosine, chiSquare, coverage, doc, gini, hyperlift) to a set of
association rules mined from apriori
. Usually used before converting ruleset to data.frame and exporting to some sort of text file.
1 | addRuleQuality(trans, rules, include = NULL, exclude = "improvement")
|
trans |
transaction set (s4 class from arules package) |
rules |
set of rules from |
include |
character vector specifying which quality measures to include. Default is to include everything. |
exclude |
character vector specifying which quality measures to exclude. Default is to exclude 'improvement' because it seems to be slow. |
ruleset with additional quality measures
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.