| pat_eclat | R Documentation |
Frequent itemsets using arules::eclat.
pat_eclat(parameter = list(supp = 0.5, maxlen = 3), control = NULL)
parameter |
list of parameters passed to |
control |
list of control parameters |
returns a pat_eclat object
data("AdultUCI", package = "arules")
trans <- suppressWarnings(methods::as(as.data.frame(AdultUCI), "transactions"))
pm <- pat_eclat(parameter = list(supp = 0.5, maxlen = 3))
pm <- fit(pm, trans)
itemsets <- discover(pm)
arules::inspect(itemsets[1:6])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.