I'm wondering whether anyone had success in including continuous variables in an LSTM model?
For example, assume that each output should have a prediction for amount of apples and amount of oranges found:
Simple example:
x1 = [3, "apples", 5, "oranges"]
y1 = [3, 5]
More complex:
x1 = ["I", "want", "3", "apples", "and", 5, "oranges", "now"]
y1 = [3, 5]
x2 = ["No", "apples", 1, "orange"]
y2 = [0, 1]
x3 = [1000, "oranges", "and", 11, "apples"]
y3 = [11, 1000]
x4 = [10, "times", 10, "oranges"]
y4 = [0, 100]
It is not viable to treat numbers as categorical variables in this case. I would even more like if it is able to learn multiplication, like in the last case.
So, did anyone find a sequence model that can incorporate continuous variables in the inputs (mixed with textual)?