Code Monkey home page Code Monkey logo

Comments (4)

guillaume-chevalier avatar guillaume-chevalier commented on May 17, 2024

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

from seq2seq-signal-prediction.

Sangeethbala avatar Sangeethbala commented on May 17, 2024

Thank you. I have a single input which has 2000 data points. In your code, i guess you are using input_seq_len as 2000 and input_dim as 1. is it possible to use input_seq_len as 1 and input_dim as 2000. I tried this and it worked and ran fastly too. Could you tell what difference it makes if we swap the role of both?

from seq2seq-signal-prediction.

guillaume-chevalier avatar guillaume-chevalier commented on May 17, 2024

The input seq_length is the number of times we see the input, and each time we see the input we view input_dim values at once. You don't want the input seq_length to be equal to 1, otherwise your problem would be solvable by a "feedforward neural network" instead of a "recurrent neural network". You wouldn't have any time steps any more, so it wouldn't need to be recurrent.

from seq2seq-signal-prediction.

guillaume-chevalier avatar guillaume-chevalier commented on May 17, 2024

Note: using a feedforward neural network would be simpler if your problem is simply solvable by something that. You could thus use other simpler ML techniques.

from seq2seq-signal-prediction.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.