- #shape always predicted first (on centered series, no scaling taken into account),
- #with side-effect: optimize some parameters (h, weights, ...)
- predicted_shape = shape_forecaster$predict(today, memory, horizon, ...)
- #then, delta prediction can re-use some variables optimized previously (like neighbors infos)
- predicted_delta = delta_forecaster(data, today, memory, horizon,
- shape_forecaster$getParameters(), ...)
-
- #TODO: this way is faster than a call to append(); why ?