Finding the top-k left matrix profile #1121
Answered
by
NimaSarajpoor
colemanyu
asked this question in
Help: Coding & Implementations
|
I would like to know whether we can retrieve the top-k left matrix of a time series in a direct way in the current version of |
Answered by
NimaSarajpoor
Jan 24, 2026
Replies: 1 comment 3 replies
|
I think the easy way to do it is to simply run |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@colemanyu
The answer depends on whether it is acceptable for the top-k neighbors (of a sequence) to lie within each other’s exclusion zones. I’ve provided my answer for both cases below.
(1) The top-k left neighbours (of a subsequence) can be in the each other's exclusion zone
The top-k neighbours (of a subsequence S) returned by
stumpy.stumpare not in the exclusion zone ofS. HOWEVER, those neighbours might be in the exclusion zone of each other. Based on your initial question: