1. I understand that I can set up a convolutional network for 1-dimensional sequence/time series.
model = Sequential()
  1. Let's say I'd like to use "regular" (non-deep-learning) features too in my model, how should I best combine the two at a dense layer?

Concretely, let's assume that, for each row of my dataset, there are 1k points in the time series, along with 100 "regular" features.

  1. To generalize my question, let's say there are now two kinds of time series plus regular features for each row in my dataset. If I would like to have a separate convolutional block for each time series, how do I combine all three?

1 Answer 1


This can be done with Keras functional API. enter image description here

In this example, "merge_1" layer gets input from :

  1. Output of LSTM Layer (lstm_1)
  2. aux_input layer

More info : https://keras.io/getting-started/functional-api-guide/

  • $\begingroup$ Thanks. I will take a look at the documentation. $\endgroup$
    – wsw
    Feb 22, 2019 at 4:38

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.