-
-
-#TODO: debug
-
-
-
- # index 144-1 == 143 : serie type 2
- pred = computeForecast(data, 143, "Neighbors", "Zero", predict_from=8,
- horizon=length(data$getSerie(1)), simtype="endo", local=FALSE, h_window=1)
- f = computeFilaments(data, pred, 1, 8, limit=60, plot=FALSE)
-
- # Expected output: 50-3-10 series of type 2, then 23 series of type 3 (closest next)
+ # Expected output: 50-3-10 series of type 2+1 = 3,
+ # then 23 series of type 3+1 %% 3 = 1 (3 = closest next)