arules - R - Remove itemsets - ECLAT Algorithm -
i'm trying analyze associations on products. r code is:
library(arules) library(arulesviz) library(igraph) library(iplots) data <- read.transactions('file', sep=',') itemsets <- eclat(data, parameter = list(supp = 0.1, maxlen = 15)) plot(itemsets, method="graph", control=list(type="items"))
this code executing i'm getting products haven't associations shown image below:
there exists way remove ids map?
these itemsets single item. can call eclat parameters = list(minlen = 2)
. see ? eclat
more details.
Comments
Post a Comment