Skip to main content

All Questions

Tagged with
0 votes
0 answers
19 views

What is the shape of the hidden/cell state of convLSTM2D?

I am new to convLSTM2D and I understand how it works, however, I am confused about the shape of the hidden states at different epochs ...
user43280's user avatar
  • 111
0 votes
1 answer
23 views

Connecting Flatten layer to Dense layer

I'm struggling with my neural network. In short, I need to recreate a model from anywhere on the internet, I've found a model that combines BiLSTM, LSTM and GRU. However, based on the error I got when ...
Tatiana Budanova's user avatar
1 vote
0 answers
37 views

Is it possible to determine the probability of each time sample to belong a certain class using gaussian distribution with Recurrent Neural Networks?

I'm trying to train a deep learning model that predicts the probability of each time sample in a two-component time series . In this case, I want the target tensor (Y) to be a probability value for ...
Kevin Vargas's user avatar
2 votes
1 answer
307 views

Role of stateful parameter vs shuffle parameter in LSTM keras

I'm trying to make prediction on a multivariate time series using LSTM. I know stateful=True in keras LSTM means state(hidden) of each sequence, in a batch, at index i - is passed to the next batch, ...
the_he_man's user avatar
0 votes
1 answer
106 views

How RNN or LSTM delays the input

RNN or LSTM are known to hold the previous timestamp data as "memory" so that short or long range dependencies can be remembered. But in the following simple keras model, where is that delay ...
Sandeep Bhutani's user avatar
2 votes
2 answers
3k views

How to arrange multiple multivariate time series of different length before passing it to Keras LSTM layer

I have a number of multivariate time series that are produced by the same kind of process but: are of significantly different lengths; each time series is an independent instance, and the ...
Xaume's user avatar
  • 202
0 votes
0 answers
1k views

can't convert lists to tensor in tensorflow python

I'm relatively new to ML and data science and I'm using tensorflow and keras to do a NLP project. I have about 18000 emails, in my code I convert each word in every email to a vector of shape (1,50) ...
infinite's user avatar
1 vote
1 answer
833 views

Why can't I reproduce my results in keras using random seed?

I was doing a task using RNN to predict a time series movement. I want to make my results reproducible. So I strictly followed this post: https://stackoverflow.com/questions/32419510/how-to-get-...
user900476's user avatar
1 vote
1 answer
37 views

Weather impact on plant growth

I have a data set that includes the following and am using it to learn more about data science. I have googled a bunch - but can't seem to find any examples on what I am trying to do. I am trying to ...
broccolifarmer's user avatar
1 vote
1 answer
78 views

RNN/LSTM timeseries, with fixed attributes per run

I have a multivariate time series of weather date: temperature, humidity and wind strength ($x_{c,t},y_{c,t},z_{c,t}$ respectively). I have this data for a dozen different cities ($c\in {c_1,c_2,...,...
Mich55's user avatar
  • 13
1 vote
0 answers
31 views

How to predict a mathematical progression with keras

I try the following model for a many-to-many recurrent network: ...
Sebatian rojas cortez's user avatar
0 votes
2 answers
160 views

Keras: ambiguity regarding state maintenance in RNNs

The following is mentioned in the official keras RNN documentation (https://www.tensorflow.org/guide/keras/rnn). By "Normally", I assume they mean when stateful=False, which is also the ...
Enk9456's user avatar
  • 105
0 votes
0 answers
120 views

How to build a Neural network architecture where dense layer output goes into LSTM layer input?

Hello Everyone, As you can see the above picture, I want to build a similar architecture, Can you tell me how? The CV1 and CV2 in red box are the output of a dense layer, now I have to put the output ...
MasterBlasterCoder's user avatar
0 votes
1 answer
44 views

Vanishing gradients: examine output gradients

For a feedforward network or RNN, in theory we should examine the output gradients with respect to the weights over time to check whether it vanishes to zero. In my code below I am not sure whether it ...
siegfried's user avatar
  • 113
1 vote
0 answers
177 views

Is an output layer with 2 units and softmax better than one with 1 unit and sigmoid for binary classification using LSTM?

I am using an LSTM for binary classification and initially tried a model with 1 unit in the output(Dense) layer with sigmoid as the activation function. However, it didn't perform well and I saw a few ...
Saket Vempaty's user avatar

15 30 50 per page
1
2 3 4 5
10