Questions tagged [predict]
The predict tag has no usage guidance.
13
questions
1
vote
1answer
58 views
Python sklearn model.predict() gives me different results depending on the amount of data [closed]
I train my XGBoostClassifier().
If my testing set has:
0: 100
1: 884
It attempts to predict 210 1's. Around 147 are wrong (False positives) and 63 1's correctly ...
1
vote
2answers
937 views
How to predict multiple images from folder in python
Here is the code for the Prediction of multiple images from the folder. But getting the same label(class) for all the images.I'm not able to find out why every image shows the same label.
...
0
votes
0answers
133 views
2
votes
1answer
25 views
(Not a programming question) Is there a common word to indicate predict or forecast
The general understanding is:
Predict: past value - could be data the model has seen (data from train set) or past data model has not seen (data from test set) (together in-sample data)
Forecast: ...
2
votes
1answer
169 views
How do I predict a set of frequently bought items?
I have a dataset of retail transactions wherein different users buy certain items together. For example, a user A buys a toothpaste, a toothbrush and a floss at the same time, and a user B buys a ...
0
votes
0answers
8 views
Predict values if will be above a threshold (so bottomline behaviour)
this time I am not asking help with coding but on the concept level. I have trained a classifier (RF but this is not important) that provide goods accuracy (around 90%)
3
votes
1answer
258 views
What is the better way to predict classes for the models developed using the functional API in Keras
We can predict the class for new data instances using the Sequential classification model in Keras using the predict_classes() function. What is the way to predict the class for models that developed ...
0
votes
1answer
45 views
How to model predict on Tensorflow model that has feature columns?
So far all the coding examples using feature columns do not have examples of how to format their model.predict(...). I tried using raw string and also putting them ...
1
vote
0answers
35 views
How can I get the predict future following value using Tensorflow LSTM?
Thank you for reading. I'm not good at English.
I am wondering how to predict and get future time series data after model training. I would like to get the values after N steps.
So, I used the time ...
1
vote
1answer
48 views
Unable to make accurate predictions?
I have a dataset of diabetes patients and I am trying to predict the next blood glucose level. I have attached an image below and I have about 1600 records in that csv file containing data of 10 ...
5
votes
1answer
626 views
Calculate confidence score of a neural network prediction
I am using a deep neural network model to make predictions. My problem is a classification(binary) problem. I wish to calculate the confidence score of each prediction. As of now, I use ...
2
votes
1answer
765 views
Issue with predict generator keras
I'm new with keras with tensorflow backend and I'm trying to do transfer learning with pretrained net.
The problem is that the accuracy on validation set is very high, around the 90% , but on test set ...
-1
votes
1answer
450 views
Implementation explanation for predict_proba in RandomForestClassifier- sklearn
Attached is an extract from the RandomForestClassifier documentation of sklearn. The last line,"The class probabilities of a single tree is the fraction of samples of the same class in a leaf." is ...