Is it possible to use a Flux.onehot vector together with other data as input to a Layer?
Can you be a little bit more specific about this? What do your data and model look like?
I have a time series that depends on some real valued variables and on the type of day (i.e. Sunday, Monday,…)
I would like to encode the day information into a onehot vector and combine it with the rest of the variables as input.
For know is use a for loop and convert the onehot vector for each time instance into a binary value and concatenate it with rest of the variables.
It would be nice if
hcat would work for such an application.