A faster findsignal method
7 ビュー (過去 30 日間)
古いコメントを表示
findsignal implements a method for finding the best similairty between two signals. findsignal is slow.
Is there a faster way to execute findsignal ?
2 件のコメント
Eamonn
2021 年 10 月 20 日
You are in luck!
The MASS algorithm is much faster, and is more general
MASS supports GPUs
If you want to see case studies etc, Google "100 Time Series Data Mining Questions (with Answers!)"
回答 (2 件)
Walter Roberson
2021 年 10 月 17 日
Maybe. It would not astonish me if parts if it could be rewritten to use an available GPU.
However... the algorithm already invokes two mex functions to improve performance, so you might be hard-pressed to find a more efficient algorithm.
The algorithm involves normalization of signals, and involves calculating dynamic time warping (dtw) https://www.mathworks.com/help/signal/ref/dtw.html to try to find the best match. The dtw is one of the portions done as mex.
You might be able to find a different algorithm, but you would need to ask whether it is doing the same job as findsignal() is doing. For example, some people might be satisfied with xcorr() https://www.mathworks.com/help/matlab/ref/xcorr.html but that does not have the same behaviour of trying to find the best possible place for the signals to fit together including stretching.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!