Questions tagged [predict]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
65 views

How can I choose num of epochs and batch size?

I have the coco 2014 dataset and need to train it as training is around 82700 and testing is 40500. However, I got the same sentence with different values every time with ...
0
votes
1answer
21 views

Get the prediction probability using prediction function

I'm new to SVM models. I took custom SVM classifier from the github. In there standard predict function was overwritten by custom predict function. ...
1
vote
0answers
46 views

Algorithm to predict the best time to recall a client

Let's immagine I have a dataset of calls from a call center to clients. Each call has a lot of information like at what time it was made, duration, if it was answered or not, if the client purchased ...
0
votes
1answer
93 views

The sum of multi-class prediction is not 1 using tensorflow and keras?

I am studying how to do text classification with multiple labels using tensorflow. Let's say my model is like: ...
1
vote
1answer
424 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 ...
2
votes
2answers
3k 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. ...
2
votes
1answer
26 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
355 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 ...
3
votes
1answer
997 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
122 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
36 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
49 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
973 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
1k 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
645 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 ...