I'm training a model with a 4 day look back and 4 days future forecast. The last 4 days will be acting as a feature for the next days.
In that case if i have x_test as [[1,2,3,4],[5,6,7,8]]
and y_test[[0.1,0.2,0.3,0.4],[0.5,0.6,0.7,0.8]]
if we do a model.predict(x_test[0])
, the result y(hat)
we need to comapare with y[1].
So how is model.evaluate()
doing this comparison? if we comapre y(hat)[0]
with y[0]
, it is wrong right?