Keras Network Architecture for Non-Time-Series prediction

Question to keras NN architecture: I wanna extend my existing trading algorithm to predict the "best" quantity on opening a new position. For the First layer i Need a many to one Input shape like (1 Sample, x Features) and the Output shape (1, 1). Can i use a LSTM layer for this Operation or is there a better option for Non-time-series predictions?

Posted Jun 25, 2020, 12:14 PM UTC

63
scrdest•

Depends on the features.

If the features are independent across samples, you could just use Dense layers for the embedding.

1
-Exolith-OP•

Can i really use a simple Dense Layer? How does a many to one Dense Layer Look Like?

1
-Exolith-OP•

Ok i found an example: Just setting the input_dim param to the Dimension of your Input Array... so fucking simple ._.

1