All Questions
Tagged with keras prediction
39
questions
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 ...
0
votes
1
answer
479
views
Running model.fit multiple times for an LSTM?
I have time-series histogram data from many separate machine runs (see this post for detail).
I am working to train an LSTM in order to predict the final histogram in a machine run based on the past ...
0
votes
2
answers
904
views
How to predict a certain time span into the future with recurrent neural networks in Keras
I have the following code for time series predictions with RNNs and I would like to know whether for the testing I predict one day in advance:
...
1
vote
0
answers
19
views
Prediction method when the time series is not sequential?
I have multivariate time series data consisting of monthly sales of contraceptives at various delivery sites in a certain country, between January 2016 and June 2019. The data looks as follows:
The ...
3
votes
2
answers
2k
views
Speed up Keras Model Prediction Load Times
I am trying to create a prediction API using keras which loads the model predicts and closes the model. But initializing time in python is about 3-5 secs so each request takes around 5 secs to return ...
0
votes
1
answer
330
views
Encoder-Decoder LSTM for Trajectory Prediction
I need to use encoder-decoder structure to predict 2D trajectories. As almost all available tutorials are related to NLP -with sparse vectors-, I couldn't be sure about how to adapt the solutions to a ...
1
vote
0
answers
109
views
*(CATEGORIES[int(prediction[0][0])])* giving me different result for single image prediction from saved model
From a saved model, I am trying to predict a single image.
I followed this code - https://www.youtube.com/watch?v=A4K6D_gx2Iw
I am getting different result for two different command-
...
1
vote
0
answers
26
views
Stabilize Neural network prediction for class probability
I could not carry my question from stackoverflow
I ve been trying to fit a neural network for binary setting using library(keras) and I am interested in class ...
1
vote
0
answers
316
views
Why are Neural Network predictions "correct", but offset from true value? Not using any past lagged values
I recently asked a similar question, but didn't get a response that really addressed/fixed the issue. Additionally, I've done some more work since then. I'm sorry for the long question below, I just ...
1
vote
1
answer
608
views
Keras Model Predict is not predicting all images flowing from directory?
I have the following code where I have done all the training and passed the testing set as a flow from directory. After that when I pass that object into the model.predict option, the array received ...
1
vote
1
answer
4k
views
How to make predictions of multiple input samples at once in tf 2 with keras
I am quite confused on the output of model.predict
when after training I validate my model on around 6000 samples I use the following pseudo code:
...
1
vote
0
answers
177
views
Keras Bidirectional LSTM: low training and validation loss but very bad predictions
I'm training a Bidirectional LSTM using Keras.
My task is to predict the words order in a sentence, so, given a sentence, ...
0
votes
1
answer
76
views
NN Model accuracy and loss is not changing with the epochs!
I am building a tensorflow model for Heart Disease Prediction data-set. It has a binary outcome (0, 1).
Though I am struck with such a low accuracy which is not changing with epochs.
...
1
vote
1
answer
314
views
How to deal with different length entities in a Keras DataGenerator?
I'm solivng a prediction problem where I need to predict the demand of multiple articles based on their performance during the last 7 days. To get the most out of the data I am trying to implement a ...
4
votes
1
answer
183
views
Why does MAE differ after prediction (Neural Network)?
I'm having trouble understanding what's happening in the following code.
I already have defined x_train, y_train, x_val, y_val and x_test which define my training, validation and test sets. I'm using ...