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
$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.
machine-learning neural-network lstm rnn
New contributor
$endgroup$
add a comment |
$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.
machine-learning neural-network lstm rnn
New contributor
$endgroup$
add a comment |
$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.
machine-learning neural-network lstm rnn
New contributor
$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
machine-learning neural-network lstm rnn
New contributor
New contributor
New contributor
asked 7 mins ago
ZuberaZubera
1
1
New contributor
New contributor
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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.
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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