Questions tagged [prediction]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
75
votes
5answers
44k views

Time series prediction using ARIMA vs LSTM

The problem that I am dealing with is predicting time series values. I am looking at one time series at a time and based on for example 15% of the input data, I would like to predict its future values....
15
votes
4answers
9k views

Prediction interval around LSTM time series forecast

Is there a method to calculate the prediction interval (probability distribution) around a time series forecast from an LSTM (or other recurrent) neural network? Say, for example, I am predicting 10 ...
11
votes
2answers
3k views

Is a 100% model accuracy on out-of-sample data overfitting?

I have just completed the machine learning for R course on cognitiveclass.ai and have begun experimenting with randomforests. I have made a model by using the "randomForest" library in R. The model ...
11
votes
1answer
8k views

What do “compile” , “fit” and “predict” do in Keras sequential models?

I am a little confused between these two parts of Keras sequential models functions. May someone explains what is exactly the job of each one? I mean ...
11
votes
1answer
11k views

How to Predict the future values of time horizon with Keras?

I just built this LSTM neural network with Keras ...
6
votes
1answer
3k views

how to interpret predictions from model?

I'm working on a multi-classification problem - Recognizing flowers. I trained the mode and I achieved accuracy of 0.99. To predict, I did: ...
5
votes
3answers
653 views

Why can't my neural network learn how to predict the squares of natural numbers?

I want my neural network to learn to predict the square $n+1$ number having $n$ number. I am considering a regression problem. That's what I'm doing: ...
5
votes
2answers
7k views

Using RNN (LSTM) for predicting one future value of a time series

I have been reading several papers, articles and blog posts about RNNs (LSTM specifically) and how we can use them to do time series prediction. In almost all examples and codes I have found, the ...
5
votes
3answers
136 views

Which algorithm to use for efficient resource assignment?

I am a starter in ML. So pardon me if the question is naive. We have a Project Management tool where users can create a ticket and assign it to others. This is just one part of the tool but we are ...
5
votes
1answer
2k views

Batching in Recurrent Neural Networks (RNNs) when there is only a single instance per time step?

I have scoured the internet and books, but everything seems to use num_steps and batch_size or similar terms interchangeably and ...
5
votes
2answers
8k views

Why is input preprocessing in VGG16 in Keras not 1/255.0

I am just trying to use pre-trained vgg16 to make prediction in Keras like this. ...
5
votes
1answer
49 views

which algorithms can be used to extrapolate non-linear data?

I have a dataset, where target value changes in time in following way: I need to predict target value for upcoming month, however I struggle to find a method to extrapolate the function that defines ...
5
votes
1answer
65 views

Theoretical background for model arhitecture choosing

Suppose I have a dataset $X$ and two different binary labels $y_{1}$ and $y_{2}$. The classes are very imbalanced - 3% of true in $y_{1}$ and 2% in $y_{2}$. Moreover, there are no pairs of (0,1), so, ...
4
votes
2answers
346 views

Is There a Way to Re-Calibrate Predicted Probabilities After Using Class Weights?

I have classification data with far more negative instances than positive instances. I have used class weights in my models and have achieved the discrimination I want but the predicted probabilities ...
4
votes
1answer
304 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 ...
4
votes
2answers
6k views

Prediction Intervals Using XGBoost

I want to obtain the prediction intervals of my xgboost model which I am using to solve a regression problem. I am using the python code shared on this blog, and not really understanding how the ...
4
votes
1answer
43 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 ...
4
votes
3answers
3k views

tsne for prediction

I have a traditional prediction setting, with a training data set train and a test data set test. I do not know the outcome <...
4
votes
1answer
156 views

Why does CV yield lower score?

My training accuracy was better than my test accuracy, hence I thought my model was over-fitted and tried Cross-validation. The model further degraded. Is that my input data need to be sanitised ...
4
votes
0answers
3k views

Kalman filter for time series prediction

I have the information about the behaviour of 400 users across period of 1 months (30 days). Across those 30 days I measure 4 different information (let's call it A,B,C and D), hence I have a total of ...
3
votes
1answer
86 views

Make classification and prediction at the same time

I am working on the detection and prediction of epileptic seizures and I was thinking about something : would it be possible to apply classification and prediction at the same time. I mean, having ...
3
votes
1answer
5k views

Simple prediction with Keras

I want to make simple predictions with Keras and I'm not really sure if I am doing it right. My data looks like this: ...
3
votes
2answers
10k views

Sales prediction of an Item

So, I've been trying to implement my first algorithm to predict the (sales/month) of a single product, I've been using linear regression since that was what were recommended to me. I'm using data ...
3
votes
3answers
276 views

When is it convenient dropping duplicates when performing Time Series Prediction?

I have this Dataset. ...
3
votes
2answers
344 views

Sports prediction using machine learning [closed]

I am trying to predict soccer scores using past results. The dataset I have only consists of the home team, the away team, goals scored by the home team and goals scored by the away team in each match....
3
votes
1answer
879 views

How to properly predict date using Orange 3

First of all - I'm new to all of this. I'm trying to create a model to predict the release of ios 12 based on previous years. I've got an excel that has a format like this: ...
3
votes
1answer
52 views

Terminology - regression with one output and multiple output variables

I am trying to predict the response when the input is represented by Fourier transform. These form the features and are typically represented as a vector, $x_1,x_2,...,x_d$ where $d$ is the length of ...
3
votes
1answer
306 views

Use Machine Learning/Artificial Intelligence to predict next number (n+1) in a given sequence of random increasing integers

The AI must predict the next number in a given sequence of incremental integers (with no obvious pattern) using Python but so far I don't get the intended result! I tried changing the learning rate ...
3
votes
1answer
103 views

How can i find trend time for my articles?

our article is time-based, that means is my article search more in a specific time. as you can see in under chart this article search more in specific period time. if my dataset looks like this(it ...
3
votes
1answer
2k views

Time series prediction of discontinuous data

In the context of time series prediction, I have read that time series is a series of data that taken at successive equally spaced points in time (which means its in order). What if I have a ...
3
votes
1answer
2k views

Tensorflow predicting same value for every row

I have a trained model. For single prediction I restore the last checkpoint and pass a single image for prediction but the result is the same for every row. Does anyone have a clue of what might be ...
3
votes
1answer
58 views

How to prevent a neural network from outputing too clustered probabilities?

I have a CNN outputting probabilities using a logistic output. The performances are good on the test set. Yet the probabilities it outputs are very clustered, they are either 0 or 1! I would like ...
3
votes
2answers
111 views

Prediction approach on unique data or progressive data

In a employee attrition analysis with a table having rowwise data for a (employee like Id, name, Date_Join Date_Relieving Dept Role etc) ...
3
votes
1answer
1k views

Making predictions / Loading model in TensorFlow 2.0

I use TensorFlow/Keras on a daily basis to make predictions for a project. Everything works fine but I was getting regular warnings about the transition to TensorFlow 2.0 and I thought this week I ...
3
votes
0answers
46 views

Timeseries prediction error measurement. How to deal with diffrent time scales?

I have some time series and a prediction model. Now I would like to measure how good/bad the prediction is for different products. The problem is that for each product the time points (frequency of ...
3
votes
1answer
46 views

How to construct confidence bound for Time Series Prediction?

I have some time series data and am using some Deep Learning techniques to get its prediction. Now, I would like to construct confidence bounds for it. I calculated the residuals, their mean and ...
3
votes
2answers
79 views

Is ARIMA appropriate for time series prediction involving a mix of explanatory and independent variables?

I have a table with the following columns: Date(Month,Year), Sold_Past_Month, Quantity_Available, Quantity_Shipping_In, Missed_Sales, Quantity_Needed Quantity_Needed is the dependent variable that ...
3
votes
0answers
158 views

Next events prediction based on previous events

I have data set of sequences of user executed commands sorted in the order of its occurrence. The data looks like this. ...
2
votes
1answer
3k views

Predicting with categorical data

I have a dataset which contains various columns: numerical and categorical. Dataset here: I was able to process the categorical data using .astype('category') and ...
2
votes
1answer
5k views

99% validation accuracy but 0% prediction results (UNET Architecture)

I am debugging results from the UNET architecture that I am using for identifying corneal reflection in eye images. While I am getting over 99% training accuracy and also very high (over 99%) ...
2
votes
2answers
1k views

Very low probability in naive Bayes classifier

I have designed NB classifier from scratch in python for binary classification problem. There are total 220 records out of which 85 records belongs to 'Yes' class and 135 to 'No' class. My classifier ...
2
votes
2answers
301 views

Recognize and predict a periodic pattern

I need to design a controller that tries to collect as much falling objects (raindrops) from an unknown source. Beneficial to solving the problem could be the recognition of the seemingly random ...
2
votes
1answer
487 views

What does a predicted probability really mean, without considering the accuracy of the underlying model?

Say I've built a (completely unrealistic) classification model in Keras that gives me 1.00 accuracy. And next, I would like to use my model on some new, unseen data, and use ...
2
votes
2answers
113 views

What are possible approaches to deal with unseparable data even after PCA?

Greetings data scientists, I am dealing with a complex classification/prediction problem and I am finding very difficult to separate the classes at all. Even after PCA, my data (over the two PCs), ...
2
votes
1answer
2k views

Encode multi-class response variable

In a classification problem when the response variable has multi-class, e.g., "sunny","rainy","cloudy", how should we encode it? I know that for predictors like this, usually we do One Hot Encoding, ...
2
votes
1answer
27 views

Prediction for not completely well classified data

I have a DataFrame of users, some of them are "bots" and they are identified with a bit equal to 1 in the "is_bot" column, if the bit is 0, the user is considered as "human". The problem is that some ...
2
votes
2answers
56 views

why we sample when predicting with Recurent Neural Network

I trained a Recurrent Neural Network to predict the next word in a sentence. I trained and now I want to predict, but there is something I am not getting well. I saw it in many tutorials even in the ...
2
votes
2answers
32 views

Which algorithm to use to identify clusters with a similar value?

Here, an example of my problem: 10000 observations of people with several features [age, gender, region, number of sons, ...] and a value to predict "income". There is not a general relationship ...
2
votes
1answer
39 views

Making predictions with missing numeric data

I don't know much about how to deal with missing data. When the data is categorical it doesn't seem too bad, if I one-hot encode it without dropping any of the actual categories, the missing data is ...
2
votes
1answer
167 views

How to predict next year's gross revenue given this year's data?

I have the following dataset (.csv format) which contains: 100 columns: $\textbf{Period}$ (in years, e.g. 2017, 2018, ..., 2028), $\textbf{Gross Revenue}$, $\textbf{Region}$ (e.g. APAC, NEMEA, etc), ...

1
2 3 4 5
7