ASparameter-classes {arules} | R Documentation |
The ASparameter
class holds the mining parameters (e.g., minimum
support) for the used mining algorithms. APparameter
and
ECparameter
directly extend ASparameter
with additional slots
for parameters only suitable for the Apriori (APparameter
) or the
Eclat algorithms (ECparameter
).
A suitable default parameter object will be automatically created by
the apriori
or the eclat
function. By
specifying a named list (names equal to slots) as parameter
argument for the apriori
or the eclat
function, default values can be replaced by the values in the list.
Objects can be created by calls of the form new("APparameter",
...)
or new("ECparameter", ...)
.
Common slots defined in ASparameter
:
support
:minlen
:maxlen
:target
:"frequent itemsets"
"maximally frequent itemsets"
"closed frequent itemsets"
"rules"
(only available for Apriori)
"hyperedgesets"
(only available for Apriori;
see references for the definition of association hyperedgesets)
ext
:FALSE
)
Additional slots for Apriori in APparameter
:
confidence
:smax
:arem
:"none"
) given
by one of
"none"
:"diff"
:"quot"
:"aimp"
:"info"
:"chi2"
:aval
:arem
.minval
:arem
(default: 0.1)originalSupport
:ext = TRUE
if originalSupport
is set to FALSE
(default: TRUE
)
Additional slots for Eclat in ECparameter
:
tidLists
:FALSE
)signature(from = "NULL", to = "APparameter")
signature(from = "list", to = "APparameter")
signature(from = "NULL", to = "ECparameter")
signature(from = "list", to = "ECparameter")
signature(object = "ASparameter")
Christian Borgelt (2004) Apriori — Finding Association Rules/Hyperedges with the Apriori Algorithm. http://fuzzy.cs.uni-magdeburg.de/~borgelt/apriori.html