Providing better information in the attribute .I_ of class floss
#816
Closed
NimaSarajpoor
started this conversation in
General
Replies: 1 comment 1 reply
-
|
@NimaSarajpoor Here are some initial thoughts:
I wouldn't change anything unless we could motivate an actual real need as it feels like we are wasting our time guessing when nobody actually uses it or knows how to use it. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have been studying the module
flosslately and I realized that attribute.I_can/should provide more clear information. Based on my understanding, as we updateself._T, we shift the time series T to the left and add a new data point to the end. We also shiftPandIto the left and update them accordingly. Note that shiftingIandPto the left means that we are losing information about the nearest neighbor of the very first data point inTand their distance to each other. In other words, updatedPrepresents the updatedself._T. Thus, updatedIshould reflect updatedself._T. One might think thatIcontains the start index of nn of the subsequences of self._T, and what if thennwas something that was in the past and not in the currentself._T(and hence we should store the index that is relative to their actual position in the time series). But, I think that is incorrect.flossonly deals with rightnn. Therefore, logically speaking, the values ofself._Ishould be inrange(0, len(self._T)). In other words, I should seej==self._I[i], whereself._T[j:j+m]is the RIGHT nearest neighbor ofself._T[i:i+m]. I think this wayself._Iprovides a better information compared to the existing versiton.I do not know how the
flossworks; however, if the goal of the attribute.I_is to help user has access to such information, then I think the proposed approach is better as it can provide clearer information.What do you think @seanlaw ?
Beta Was this translation helpful? Give feedback.
All reactions