Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different input and output dimensions (not lengths) #4

Closed
tomasn4a opened this issue Aug 28, 2017 · 5 comments
Closed

Different input and output dimensions (not lengths) #4

tomasn4a opened this issue Aug 28, 2017 · 5 comments

Comments

@tomasn4a
Copy link

Gillaume, thanks a lot for sharing this, I've been having a lot of fun playing with it. I just had a quick question: would it be possible to have input and output sequences of different dimensions? Like for example, using both sin waves in your example 1 to predict only one of them. I know with the sin waves it wouldn't make sense but you get the idea. Any thoughts on this? Thanks again

@mateosmasa
Copy link

Guillaume, As you describe in exercise 4, how could it be possible to obtain an unique prediction signal with for example, two input signals ? I mean, introducing exogenous variables into the time series to predict it. Thanks for all.

@guillaume-chevalier
Copy link
Owner

Shouldn't this be as easy as not tying together output_dim and input_dim by giving them different values, and by providing a suited dataset? What happens if you do that?

The reshaped_outputs variable remaps the dimensions from hidden_dim to output_dim with a FC layer.

@Sangeethbala
Copy link

Is it possible to use variable input sequence length, similar to what has been implemented for Machine Translation?

@guillaume-chevalier
Copy link
Owner

@Sangeethbala Yes, you could use TensorFlow's Dynamic RNN, or some other things in eager mode for example.

@guillaume-chevalier
Copy link
Owner

I think this issue got fixed by merging #17.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants