| pat_cspade | R Documentation |
Sequential pattern mining using arulesSequences::cspade.
pat_cspade(parameter = list(support = 0.4), control = list(verbose = TRUE))
parameter |
list of parameters passed to |
control |
list of control parameters |
returns a pat_cspade object
x <- arulesSequences::read_baskets(
con = system.file("misc", "zaki.txt", package = "arulesSequences"),
info = c("sequenceID", "eventID", "SIZE")
)
pm <- pat_cspade(parameter = list(support = 0.4))
pm <- fit(pm, x)
seqs <- discover(pm)
as(seqs, "data.frame")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.