salient_mds {tsmp}R Documentation

Convert salient sequences into MDS space

Description

Convert salient sequences into MDS space

Usage

salient_mds(.mp, data, bit_idx = 1)

Arguments

.mp

a Matrix Profile object.

data

the data used to build the Matrix Profile, if not embedded.

bit_idx

an int. The index of n_bits used for MDL discretization if more than one was used. (Default is 1).

Value

Returns X,Y values for plotting

References

Website: https://sites.google.com/site/salientsubs/

Examples

# toy example
data <- mp_toy_data$data[, 1]
mp <- tsmp(data, window_size = 30, verbose = 0)
mps <- salient_subsequences(mp, verbose = 0)
mds_data <- salient_mds(mps)
plot(mds_data, main = "Multi dimensional scale")

[Package tsmp version 0.4.15 Index]