I manipulate the time series using the different structures of the neural networks in order to make a prediction, and I wonder if there is a way to choose the parameters of the networks intelligently? from the characteristics of the signal, namely (trend, seasonality ...) can we choose these parameters that will make learning better?

  • $\begingroup$ Many folks use grid search. Some crazy folks use bounded Nelder Mead. $\endgroup$ Commented Aug 14, 2020 at 14:14
  • $\begingroup$ Can you please be more specific on what you have already tried and what is blocking you from doing what you are aiming for. $\endgroup$
    – hH1sG0n3
    Commented May 4, 2021 at 10:33

1 Answer 1


Indeed you can introduce some "unvariant" features to your LSTM network using Conditional RNN that use these features to create the initial hidden state:

I hope this is what you are looking for.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.