Questions tagged [recurrent-neural-network]
The recurrent-neural-network tag has no usage guidance.
22
questions
0
votes
0
answers
10
views
Why is energy jumping and images converge incorrectly in Hopfield network Python implementation?
I'm trying to implement a Hopfield network that denoises images. Here's wikipedia for Hopfield networks that I used as reference: https://en.wikipedia.org/wiki/Hopfield_network
I believe my fit2 ...
1
vote
0
answers
48
views
I can't get good performance from BERT
I trained NLP models. This is a subset (200 instances) of my data set of 10,000 instances:This the link of the dataset on pastebin
I compare an LSTM model with a glove model and a BERT model. I ...
0
votes
0
answers
28
views
How to find the derivative of the hidden state of recurrent neural networks?
Recently I am reading the following paper (link)
...
0
votes
0
answers
15
views
RNN using multiple time series for forecasting
I am trying to create a Rnn model to suppose, forecast weather. I have the weather data for a year recorded at multiple places and the dataset also contains other factors such as humidity, daylight ...
0
votes
0
answers
20
views
Varying output size in recurrent neural network
My dataset has an varying size in the output data (meaning can be a vector of 2 or 5 integers). I read that recurrent neural network (RNN) can be a solution to that but did not find an easy example of ...
0
votes
0
answers
97
views
Why are GRU layer dimensions incompatible using ragged tensor input?
I am attempting to create a sequential model in Keras that accepts a 3-dimensional ragged tensor as an input, creates an embedding, and feeds into a GRU layer. While I can get the model to accept the ...
0
votes
0
answers
61
views
How do I prepare data for a multivariate LSTM model that includes multiple patients
I want to predict the blood glucose levels using time series data with multiple features such as time, glucose levels, carbohydrates, fat, and protein. I have a dataset with hundreds of patients but ...
0
votes
0
answers
9
views
LSTM for Body Movement Data
I am trying to create a recurrent Autoencoder for use with body movement data i.e. each time instance consists of a 17x3 array corresponding to the 17 key body points in xyz space. What is the best ...
0
votes
0
answers
106
views
Keras LSTM's: why do I get the best results with just 1 timestep input data?
I've created a stacked LSTM model to predict the price of Bitcoin for each next timestep ( day ) based on the historic values; say, the values of the last n ...
0
votes
0
answers
7
views
training a recurrent mode to learn a transition function
I have recently started using recurrent deep learning model. I am not still very familiar how to use them properly. I used "Sequential Neural Models with Stochastic Layers" method to learn ...
0
votes
1
answer
155
views
Difference between batch_size in TimeSeriesGenerator and model.fit batch_size
im wondering if there is a difference between the batch_size set in the TimeSeriesGenerator and the batch_size in the model_fit. I create some RNN Forecasts for timeseries.
...
1
vote
3
answers
1k
views
What are the evaluation metrics we can use for RNN models?
I'm working on a few RNN (Recurrent Neural Network) models and want to evaluate those models, so I'm looking for useful metrics to evaluate RNN models?
0
votes
0
answers
1k
views
Does the sequence length of a RNN/LSTM have to be the same for the input and output?
I have a question about the input and output data in a RNN or LSTM. A RNN expects a 3-dimensional vector as input of the form (Batch_size, sequence_length_input, features_input) and a 3-dimensional ...
2
votes
1
answer
358
views
RCNN to predict sequence of images (video frames)?
In the following work the authors apply a convolutional recurrent neural network (RNN) to predict the spatiotemporal evolution of microstructure represented by 2D image sequences. In particular, they ...
2
votes
0
answers
17
views
Dual Branch Recurrent Neural Network, what is the correct architecture and can I turn off one branch?
Let's suppose I want to predict the daily consumption of apples in the next 30 days of a person and I have, as input, the historical information about the past 60 days and the demographic information ...
0
votes
0
answers
158
views
Multivariate RNN/LSTM architecture for optimizing one input variable
Let $x = [x_1, x_2, x_3]$ and $y = y$ where all variables in $x$ correlates highly with $y$ and there could also be some crosscorrelation within the set of variables in $x$.
The data takes the form of ...
0
votes
1
answer
28
views
Use Lstm for classifying problem
i have a dataset of 10000 event with 16 feature, and a vector of dimension 10000 that represent the label of each event; for what i understand is a classification problem but it's required to use a ...
0
votes
0
answers
48
views
external input and Reinforcement Learning
Is there an RL method which in it the next state depends on the "current action" and "current state" AND an "External Input"?
0
votes
0
answers
46
views
Back propagation process of RNN?
I'm learning how to use the Recurrent Neural Network model (RNN). I'm not entirely sure about the feed-forward procedure in RNN. It includes, for example, input, hidden state, and output. As far as I ...
3
votes
0
answers
2k
views
Hopfield Network python implementation, Network doesn't converge to one of the learned patterns
I'm trying to implement a Hopfield Network in python using the NumPy library. The network has 2500 nodes (50 height x 50 width). The network learns 10 patterns from images of size 50x50 stored in &...
0
votes
0
answers
29
views
How to put marker on time series training set
My input is this picture
And I would like to put markers on it and use time series with markers as a label
Two picture are not scaled. Main point is I would like to train RNN classifier and let it be ...
0
votes
1
answer
617
views
Problems to understand how to create the input data for time series forecasting with a recurrent neural network in Keras
I just started to use recurrent neural networks (RNN) with Keras for time-series forecasting and I found this tutorial Forecasting with RNN. I have difficulties understanding how to build the training ...