Skip to main content

All Questions

Tagged with
0 votes
0 answers
14 views

LSTM not recognizing increasing and decreasing patterns

I am struggling to get an LSTM to recognize different patterns in sequences. As a very simple example, I would like my LSTM to recognize and predict both increasing and decreasing sequences. For ...
Moxnatik's user avatar
0 votes
0 answers
14 views

Understanding Divergence in LSTM Units with Zero Initialization and Shared Weights?

I'm trying to understand how LSTM units can diverge over time when they start with zero initialization and share the same weights. Here are the key points of my confusion: Initialization: All units ...
user164819's user avatar
1 vote
0 answers
17 views

How to include variable input shape in convLSTM2D?

I am classifying time series of 72x72 images in 4 filters (just like RGB). Things work well ...
user43280's user avatar
  • 111
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
0 answers
33 views

Multi-step CNN-LSTM Encoder Decoder Model is not fitting well on peak values

I am trying to predict 4 values concurrently for next 24 hours n_lookback = 48 n_forecast = 24 I am breaking the sequences like this: ...
Hiba Rehman's user avatar
0 votes
0 answers
37 views

Calculate AUC-ROC and AUC-PRC for an LSTM Model

I have the following simple Bidirectional LSTM model for a binary classification task: ...
thatsroughbuddy's user avatar
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
0 votes
1 answer
63 views

LSTM For Predicting Vector Sequences

I am attempting to construct a Keras model that intakes a sequence of vectors and outputs the most likely next vector in the sequence. I have followed a few tutorials, but nothing is quite seeming to ...
slastine's user avatar
0 votes
0 answers
34 views

Cant pass input_shape to LSTM layer in Keras

I have a numpy array X_train of shape (number of samples, timestep , number of features) =...
John adams's user avatar
0 votes
0 answers
15 views

Meaning of mean squared error in multistep prediction

In multistep prediction with LSTM(keras), say we had this kind of result: target = [[1,2,3] ,[4,5,6] ] predictions = [[1.1,2.2,3.3] , [4.4,5.5,6.6]] When we choose mean_squared_error as the loss ...
the_he_man's user avatar
0 votes
0 answers
35 views

LSTM - How can I predict the status an hour before in advance?

I’m very beginner, I’m trying to design a prediction model for forecasting the status one hour ahead.I have 150 sample data, each consisting of of 24 hours of time-series data with multiple features (...
user2578441'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
0 answers
137 views

Custom Loss Function Returns Graph Execution Error: Can not squeeze dim[0], expected a dimension of 1, got 32

I have built a loss function which adds time and frequency weighted averages and variances to the MSE: ...
Harry Chittenden's user avatar
0 votes
0 answers
357 views

Value Error: One of the dimensions in the output is <= 0 due to downsampling in conv1d_9

i am trying to implement classification model on my dataset, which has 3 columns and 651 rows Displacement Time Labels 0.000245879 0.01 Undamage 0.001954869 0.02 Damage 0.006545664 0.03 Undamage 0....
Shagufta's user avatar

15 30 50 per page
1
2 3 4 5
24