Dear Professor Lizier,
I have very carefully studied and followed step by step the code that performs auto-embedding of both source and destination variables using Ragwitz criterion, and I am still unable to decipher the exact logic behind the operations that take place. Following a very simplistic example below:
If we assume destination: Y = [10, 18, 12, 14, 16, 20, 24, 22, 28, 26]
and source: X = [ 5, 0, 7, 4, 3, 2, 6, 8, 1, 9 ]
(with kNN=4, say k_max=2, tau_max=2)
"Ragwitz" Autoembedding of destination:
in the first step we will look at k=1 and tau =1, hence we are looking at
Destination: Y_i+1= [18, 12, 14, 16, 20, 24, 22, 28, 26]
Source: X = [ 5, 0, 7, 4, 3, 2, 6, 8, 1]
for t=0:
destValuetoPredict = 18
which corresponds to source X[0] = 5
In my understanding, we now shall look for 4 nearest neighbours of X[0] = 5
which are: X[3] = 4 --------corresponding to --->Y_i+1[3] = 16
X[4] = 3 --------corresponding to --->Y_i+1[4] = 20
X[6] = 6 --------corresponding to --->Y_i+1[6] = 22
X[2].= 7 --------corresponding to --->Y_i+1[2] = 14
now, all of these 4 Y_i+1 values (the neighbourDestValue) will be the predictors for destValuetoPredict. So we simply add them up and take the mean, which will be final prediction for this particular destValuetoPredict.
Now, my logic does not fully follow when I run this test in the code. For the above presented situation I am observing the following neighbourDestValue's:
Y_i+1[3] = 16
Y_i+1[4] = 20
Y_i+1[2] = 14
Y_i+1[1] = 12
While the first 3 neighbourDestValues do make sense and follow my logic, the 4th one does not. I have observed that this in fact is the case for every single timepoint of destination, there are always 3 values that follow my understanding and one of them that does not. Could you please advise on this issue and help me understand how does the algorithm work exactly?
Thank you very much in advance.
With best regards,
Aleksander
--
JIDT homepage: https://github.com/jlizier/jidt
---
You received this message because you are subscribed to the Google Groups "Java Information Dynamics Toolkit (JIDT) discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jidt-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jidt-discuss/efe2c8bd-e0e4-487d-9cf0-33ff29de95e4n%40googlegroups.com.