Why do recurrent layers work so well?Character recognition neural net topology/designWhy is vanishing...

Why are the books in the Game of Thrones citadel library shelved spine inwards?

Explain the objections to these measures against human trafficking

What's the most convenient time of year in the USA to end the world?

Quenching swords in dragon blood; why?

How would an AI self awareness kill switch work?

A starship is travelling at 0.9c and collides with a small rock. Will it leave a clean hole through, or will more happen?

What makes the Forgotten Realms "forgotten"?

When does coming up with an idea constitute sufficient contribution for authorship?

Eww, those bytes are gross

Overfitting and Underfitting

How to avoid being sexist when trying to employ someone to function in a very sexist environment?

Why do neural networks need so many training examples to perform?

Is there a better way to make this?

Knowing when to use pictures over words

Issues with new Macs: Hardware makes them difficult for me to use. What options might be available in the future?

Getting a UK passport renewed when you have dual nationality and a different name in your second country?

Dilemma of explaining to interviewer that he is the reason for declining second interview

Why did the villain in the first Men in Black movie care about Earth's Cockroaches?

integral inequality of length of curve

Using loops to create tables

What kind of hardware implements Fourier transform?

Could flying insects re-enter the Earth's atmosphere from space without burning up?

What to do when being responsible for data protection in your lab, yet advice is ignored?

Called into a meeting and told we are being made redundant (laid off) and "not to share outside". Can I tell my partner?



Why do recurrent layers work so well?


Character recognition neural net topology/designWhy is vanishing gradient a problem?SGD learning gets stuck when using a max pooling layer (but it works fine with just conv + fc)Feeding back hidden state manually in tf.nn.dynamic_rnn (Tensorflow)Training an RNN with examples of different lengths in KerasWhat principle is behind semantic segmenation with CNNs?1d time series to time series approximation using deep learningUnderstanding Timestamps and Batchsize of Keras LSTM considering Hiddenstates and TBPTTUnderstanding LSTM structure1x1 convolutions, equivalence with fully connected layer













0












$begingroup$


On a timeseries problem that we try to solve using RNNs the input usually has the shape input_features * timesteps * batchsize and we then feed this input into recurrent layers. An alternative I see would be to flatten the data so that the shape is (input_features * timesteps) * batchsize and use a fully connected layer for our timeseries task. This would clearly work and our Dense Network would be able to find dependencies between the data at different timesteps as well. So what is it that makes recurrent layers more powerful? I would be very thankful for an intuitive explanation.









share







New contributor




Zubera is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$

















    0












    $begingroup$


    On a timeseries problem that we try to solve using RNNs the input usually has the shape input_features * timesteps * batchsize and we then feed this input into recurrent layers. An alternative I see would be to flatten the data so that the shape is (input_features * timesteps) * batchsize and use a fully connected layer for our timeseries task. This would clearly work and our Dense Network would be able to find dependencies between the data at different timesteps as well. So what is it that makes recurrent layers more powerful? I would be very thankful for an intuitive explanation.









    share







    New contributor




    Zubera is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.







    $endgroup$















      0












      0








      0





      $begingroup$


      On a timeseries problem that we try to solve using RNNs the input usually has the shape input_features * timesteps * batchsize and we then feed this input into recurrent layers. An alternative I see would be to flatten the data so that the shape is (input_features * timesteps) * batchsize and use a fully connected layer for our timeseries task. This would clearly work and our Dense Network would be able to find dependencies between the data at different timesteps as well. So what is it that makes recurrent layers more powerful? I would be very thankful for an intuitive explanation.









      share







      New contributor




      Zubera is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.







      $endgroup$




      On a timeseries problem that we try to solve using RNNs the input usually has the shape input_features * timesteps * batchsize and we then feed this input into recurrent layers. An alternative I see would be to flatten the data so that the shape is (input_features * timesteps) * batchsize and use a fully connected layer for our timeseries task. This would clearly work and our Dense Network would be able to find dependencies between the data at different timesteps as well. So what is it that makes recurrent layers more powerful? I would be very thankful for an intuitive explanation.







      machine-learning neural-network lstm rnn





      share







      New contributor




      Zubera is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      Zubera is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      Zubera is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 7 mins ago









      ZuberaZubera

      1




      1




      New contributor




      Zubera is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Zubera is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Zubera is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes











          Your Answer





          StackExchange.ifUsing("editor", function () {
          return StackExchange.using("mathjaxEditing", function () {
          StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
          StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
          });
          });
          }, "mathjax-editing");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "557"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          Zubera is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f46559%2fwhy-do-recurrent-layers-work-so-well%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Zubera is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Zubera is a new contributor. Be nice, and check out our Code of Conduct.













          Zubera is a new contributor. Be nice, and check out our Code of Conduct.












          Zubera is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Data Science Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          Use MathJax to format equations. MathJax reference.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f46559%2fwhy-do-recurrent-layers-work-so-well%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          is 'sed' thread safeWhat should someone know about using Python scripts in the shell?Nexenta bash script uses...

          How do i solve the “ No module named 'mlxtend' ” issue on Jupyter?

          Pilgersdorf Inhaltsverzeichnis Geografie | Geschichte | Bevölkerungsentwicklung | Politik | Kultur...