When I was running the code, I found that there is a problem in the function "reformat_cnn_data" in the file "data_wrangling.py". The comment in the code says that the target month is [25, 36), which is consistent with what you wrote in your paper and the CNN paper, but in the code, when lead month is 1, windows is 3, and target month is 0, the preditor months is [22,25), If it is written according to the paper, the target month should be 25, that is, 1 instead of 0 (24) in the code. I wonder if my understanding is correct, or I did not understand the calculation method of nino3.4 index moving average in the data set. I hope you can reply me as soon as possible after reading it. Thank you!
When I was running the code, I found that there is a problem in the function "reformat_cnn_data" in the file "data_wrangling.py". The comment in the code says that the target month is [25, 36), which is consistent with what you wrote in your paper and the CNN paper, but in the code, when lead month is 1, windows is 3, and target month is 0, the preditor months is [22,25), If it is written according to the paper, the target month should be 25, that is, 1 instead of 0 (24) in the code. I wonder if my understanding is correct, or I did not understand the calculation method of nino3.4 index moving average in the data set. I hope you can reply me as soon as possible after reading it. Thank you!