| CSAMiningProcess | R Documentation |
Performs the complete Combined Series Approach (CSA) workflow:
normalization with SAX encoding, motif discovery, and ranking.
This is a convenience wrapper around NormSAX,
SearchSTMotifs, and RankSTMotifs.
CSAMiningProcess(D, DS, w, a, sb, tb, si, ka)
D |
Dataset containing numeric values. |
DS |
Dataset containing SAX encoded values (recomputed internally; this parameter is kept for backward compatibility). |
w |
Word size (motif length in SAX symbols). |
a |
Number of letters in the SAX alphabet. |
sb |
Spatial block size (number of columns per block). |
tb |
Temporal block size (number of rows per block). |
si |
Minimum number of occurrences inside each block (sigma). |
ka |
Minimum number of spatial series with occurrences inside each block (kappa). |
A list of ranked motifs. Each motif contains:
Motif sequence in character format.
Matrix indicating which blocks contain this motif.
Data frame with columns s (spatial) and t
(temporal) giving the start positions of the motif in the original
dataset.
List with ranking components: dist, word,
qtd, proj.
D <- STMotif::example_dataset
DS <- NormSAX(STMotif::example_dataset, 5)
rmotif <- CSAMiningProcess(D, DS, 4, 5, 4, 10, 2, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.