projects
/
talweg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
on the way back without realtime
[talweg.git]
/
pkg
/
R
/
F_Neighbors.R
diff --git
a/pkg/R/F_Neighbors.R
b/pkg/R/F_Neighbors.R
index
c9eda05
..
52c2b35
100644
(file)
--- a/
pkg/R/F_Neighbors.R
+++ b/
pkg/R/F_Neighbors.R
@@
-1,5
+1,3
@@
-#' @include Forecaster.R
-#'
#' Neighbors Forecaster
#'
#' Predict tomorrow as a weighted combination of "futures of the past" days.
#' Neighbors Forecaster
#'
#' Predict tomorrow as a weighted combination of "futures of the past" days.
@@
-125,7
+123,7
@@
NeighborsForecaster = R6::R6Class("NeighborsForecaster",
private$.params$indices <- fdays
private$.params$window <- 1
}
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
}
}
else