matrix-profile-foundation / matrixprofile

A Python 3 library making time series data mining tasks, utilizing matrix profile algorithms, accessible to everyone.
https://matrixprofile.org
Apache License 2.0
362 stars 62 forks source link

Trouble Understanding "Neighbors" #104

Open wormnail opened 2 years ago

wormnail commented 2 years ago

Hi all, I'm a student using Matrix Profile to do time series comparisons, and I'm having a hard time understanding what "neighbors" are in MPF. I understand the concept of a "nearest neighbor" being a subsequence with the smallest Euclidean distance from a given subsequence, but there is an input to at least one MPF function called "maxneighbors." I couldn't find any explanation of this input on the API or any other resources I could find. What are neighbors, why do they appear on graphs of motifs that MPF generates, and what distinguishes them from motifs?

Thank you for any help!