synaptic icon indicating copy to clipboard operation
synaptic copied to clipboard

Multi feature input for LSTM?

Open fpopa opened this issue 7 years ago • 3 comments

Hello, nice work.

I've started using synaptic Architect with the predefined LSTM network. Everything works fine and I am quite pleased with it.

However I didn't find anything regarding suport for multiple features input for LSTM time series.

E.g. day, number of bus trips, weather, accidents.

How can I use multiple inputs for the same timestamp? Should I try to build my own network which combines results from networks that predict each feature?

thanks.

fpopa avatar Sep 04 '17 14:09 fpopa

Ehm, what have you tried? Examples on the README.md show examples of a dataset. Each sample in a data set can have basically unlimited length (input and output). Input and output are just arrays. It is your job to normalize the data.

wagenaartje avatar Sep 04 '17 17:09 wagenaartje

That is true.

It is unlimited length for input / output.

I can correctly predict number of bus trips / day by using only this metric and training a LSTM network on historical data, i want to add more data features other than number of bus trips / day to this network in order to enhance the predictions.

I did normalize all data but i don't know how i can use multiple sources of data for the same element in the input array.

I could normalize weather from 0 to 1 as in good -> bad. As well as number of bus trips, 0 none, 1 maximum for a day.

But I don't really know how can I combine both these for a single input?

does it makes sense?

fpopa avatar Sep 05 '17 21:09 fpopa

I have this exact same question.

thegamecat avatar Sep 24 '17 22:09 thegamecat