3 #' Flat prediction: always forecast a serie of zeros (adjusted by 'pjump' function).
5 #' @usage # ZeroForecaster$new(pjump)
8 #' @format R6 class, inherits Forecaster
11 ZeroForecaster = R6::R6Class("ZeroForecaster",
15 predictShape = function(data, today, memory, predict_from, horizon, ...)
16 rep(0, (horizon-predict_from+1))