-#' @include Forecaster.R
-#'
#' Neighbors Forecaster
#'
-#' Predict tomorrow as a weighted combination of "futures of the past" days.
-#' Inherits \code{\link{Forecaster}}
+#' Predict next serie as a weighted combination of "futures of the past" days,
+#' where days in the past are chosen and weighted according to some similarity measures.
+#' See 'details' section.
+#'
+#' TODO: details.
+#'
+#' @format R6 class, inherits Forecaster
+#' @alias F_Neighbors
#'
NeighborsForecaster = R6::R6Class("NeighborsForecaster",
inherit = Forecaster,
private$.params$indices <- fdays
private$.params$window <- 1
}
- return ( data$getSerie(fdays[1])[1:horizon] ) #what else?!
+ return ( data$getSerie(fdays[1])[1:horizon] )
}
}
else