FLUSS - Prediction score calculation
fluss_score(gtruth, extracted, data_size)
gtruth | an |
---|---|
extracted | an |
data_size | an |
Returns the score of predicted semantic transitions compared with the ground truth. Zero is the best, One is the worst.
Gharghabi S, Ding Y, Yeh C-CM, Kamgar K, Ulanova L, Keogh E. Matrix Profile VIII: Domain Agnostic Online Semantic Segmentation at Superhuman Performance Levels. In: 2017 IEEE International Conference on Data Mining (ICDM). IEEE; 2017. p. 117-26.
Website: https://sites.google.com/site/onlinesemanticsegmentation/
Website: http://www.cs.ucr.edu/~eamonn/MatrixProfile.html
Other Semantic Segmentations:
floss_cac()
,
floss_extract()
,
floss()
,
fluss_cac()
,
fluss_extract()
,
fluss()
data <- mp_fluss_data$tilt_abp$data[1:1000] w <- 10 truth <- c(945, 875) mp <- tsmp(data, window_size = w, verbose = 0) mp <- fluss_cac(mp) mp <- fluss_extract(mp, 2) score <- fluss_score(truth, mp$fluss, length(data))