gaps = sapply(indices, function(i) {
if (predict_from >= 2)
data$getSerie(i)[predict_from] - data$getSerie(i)[predict_from-1]
gaps = sapply(indices, function(i) {
if (predict_from >= 2)
data$getSerie(i)[predict_from] - data$getSerie(i)[predict_from-1]