Learn R Programming

tsmp (version 0.3.1)

simple_fast: Compute the join similarity for Sound data

Description

Compute the join similarity for Sound data

Usage

simple_fast(..., window_size, exclusion_zone = 1/2, verbose = 2)

Arguments

...

a matrix of numeric, where each column is a time series. Accepts list and data.frame too. If a second time series is supplied it will be a join matrix profile.

window_size

an int with the size of the sliding window.

exclusion_zone

a numeric. Size of the exclusion zone, based on window size (default is 1/2).

verbose

an int. See details. (Default is 2).

Value

Returns a SimpleMatrixProfile object, a list with the matrix profile mp, profile index pi, window size w and exclusion zone ez.

Details

verbose changes how much information is printed by this function; 0 means nothing, 1 means text, 2 means text and sound.

References

  • Silva D, Yeh C, Batista G, Keogh E. Simple: Assessing Music Similarity Using Subsequences Joins. Proc 17th ISMIR Conf. 2016;23<U+2013>30.

  • Silva DF, Yeh C-CM, Zhu Y, Batista G, Keogh E. Fast Similarity Matrix Profile for Music Analysis and Exploration. IEEE Trans Multimed. 2018;14(8):1<U+2013>1.

Website: https://sites.google.com/view/simple-fast

Website: https://sites.google.com/site/ismir2016simple/home

Examples

Run this code
# NOT RUN {
w <- 30
data <- mp_toy_data$data # 3 dimensions matrix
result <- simple_fast(data, window_size = w, verbose = 0)

# }

Run the code above in your browser using DataLab