3
$\begingroup$

When working with time-series data, is it wrong to use daily prices as features and the price after 3 days as the target?

Or should I use the next-day price as a target, and, after training, predict 3 times, each time for one more day ahead (using the predicted value as a new feature)?

Will these 2 approaches give similar results?

$\endgroup$
2
  • $\begingroup$ Have you considered trying out both apporaches on your training data and comparing which one performs better? $\endgroup$ Aug 23, 2018 at 14:57
  • $\begingroup$ This question was also asked here. $\endgroup$
    – nbro
    Jan 1 at 9:25

1 Answer 1

1
$\begingroup$

I don't know what kind of price data you're dealing with. I suppose the order of the data matters a lot, so my suggestion would be:

  1. Use LSTM as it handles time series better

  2. You can predict 3 consecutive numbers from an RNN as the next three days' predictions

  3. Try regression first, it is likely it will not work (or just flatten the curves, depend on your data noise), then classification is an easier approach

  4. Don't forget normalization

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .