X-Git-Url: https://git.auder.net/img/rock_paper_scissors_lizard_spock.gif?a=blobdiff_plain;f=pkg%2FR%2FF_Neighbors.R;h=eb0dd79b3d01bef4f46b7ec3ba2a09668cd3c403;hb=78ac74b6b27bc61853ee376094bcb78df0ef8a65;hp=17fdd58d7a19b3e448e92f37e2e8d192a824e261;hpb=9b9bb2d490e356ff0393aec66b137cff0a64803d;p=talweg.git diff --git a/pkg/R/F_Neighbors.R b/pkg/R/F_Neighbors.R index 17fdd58..eb0dd79 100644 --- a/pkg/R/F_Neighbors.R +++ b/pkg/R/F_Neighbors.R @@ -140,7 +140,7 @@ NeighborsForecaster = R6::R6Class("NeighborsForecaster", } return ( data$getSerie(tdays[1])[predict_from:horizon] ) } - max_neighbs = 10 #TODO: 10 or 12 or... ? + max_neighbs = 12 #TODO: 10 or 12 or... ? if (length(tdays) > max_neighbs) { distances2 <- .computeDistsEndo(data, today, tdays, predict_from)