Questions tagged [prediction]

The tag has no usage guidance.

131 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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
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
0answers
29 views

ML methods for prediction, using categorical variables and time

Most of the time series analysis tutorials/textbooks I found time series data, usually deal with continuous numerical variables. I am currently trying to solve a problem that deals with multivariate ...
2
votes
0answers
64 views

Results are too good.. what is wrong? How to predict correctly?

I am about to evaluate a neural network and want to check whether the predictions make sense. The variables: ...
2
votes
1answer
29 views

Predicting probability for each tag given already chosen tags

I have a set of tags (~10'000, will be extended over time) presented to a user. After he has selected 3 or more tags, I want to predict for each remaining tag what the chances are that the user will ...
2
votes
1answer
2k views

XGBOOST : model.predict_proba() and model.predict() conflicting behaviour

I have two classes : 1 and 2 The output of model.predict_proba() -> [0.333,0.6667] The output of model.predict() -> 1 This is happening for around 200 test values out of the test data of 10 lac. ...
2
votes
1answer
138 views

Combining scaling, dimensionality reduction, prediction using sklearn pipeline

I would like to use a sklearn pipeline doing this : ( - ) scale the data ( StandardScaler ) ( - ) reduce dimensionality ( PCA ) ( - ) make a prediction with GradientBoostingRegressor() and ...
2
votes
1answer
143 views

How to add previous predictions for new predictions in LSTM?

I am trying to train a model on a big data sequence like this [0.2 0.1 0.1 ..... 0.4 0.8] . I create X vectors with length 60 for inputs and Y scaler numbers as ...
2
votes
1answer
700 views

How to extract the sample split (values) of decision tree leaves ( terminal nodes) applying h2o library

Sorry for a long story, but it is a long story. :) I am using h2o library for python to build a decision tree and to extract a decision rules out of it. I use some data for training where labels get ...
2
votes
1answer
105 views

How do I use rnn to forecast to n periods with limited data?

So this is my 1st time trying to run a small time-series dataset through an RNN, but after a lot of searching, I haven't been able to find, 1. How I can use this to forecast to n periods ? (like in ...
2
votes
0answers
64 views

Prediction questions related to the dataset

I have been self-learning data science from different sources. I have a dataset which was sent to me by my friend from one of her college courses. The work is to be done in R preferably. Description: ...
2
votes
0answers
796 views

Test data predictions yield random results when making predictions from a saved model

I am classifying aerial imagery that is tiled into 256x256 tiles using Keras and TensorFlow. The model splits the training data (i.e. the 256x256 image tiles making up the study area) into 70% ...
2
votes
1answer
816 views

Estimating Predictive Uncertainty for unlabeled data

I am trying to estimate the predictive uncertainty for a deep neural network. While I do have a labeled training set, I´m trying to measure uncertainty for some unlabeled production data. This paper ...
2
votes
2answers
187 views

How to create an ensemble that gives precedence to a specific classifier

Suppose that in a binary classification task, I have separate classifiers A, B, and C. If I ...
2
votes
0answers
585 views

NARX Network Multi-Step Forecasting Question

I've been attempting to do multi-step ahead prediction with the NARX (Non-Linear with Exogenous Inputs) Neural Network. As I understand it, this network can be defined mathematically as follow: $y(t+...
1
vote
1answer
11 views

best NN architecture for point prediction

I'm training to predict a single value y (continuos in [0,1]) based on a number of variables ...
1
vote
0answers
10 views

When should I reverse normalizations to evaluate loss?

If I am training a neural network and have normalized the data before-hand, should I reverse the normalization to calculate the loss? This tutorial provides an example of this method. What if I'm ...
1
vote
1answer
14 views

How to use spectral clustering to predict?

In an academic paper, they talk about using a nearest neighbour algorithm to predict the cluster of a new point. And how the number of nearest neighbours is set to 10 in their example. What do they ...
1
vote
1answer
32 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
0answers
13 views

Derivative of multi-output Gaussian Process

I am working on a project where I estimate transition and measurements models for a kalman filter using Gaussian Processes. In order to linearize the models I require the Jacobian of the estimated ...
1
vote
0answers
39 views

PyTorch time series prediction beyond test data

I am currently playing around with pytorch models for time series prediction. I have managed to successfully run a model to predict test data. I was wondering how can I use it to predict beyond test ...
1
vote
0answers
45 views

How to incorporate the uncertainty of the model coefficients in the prediction interval of a multiple linear regression

I'm dealing with the modeling of small experimental data sets. As most experimental work does not generate thousands of samples, but rather a handful, I need to be inventive in how to deal with this ...
1
vote
0answers
20 views

Prediction issue with xgboost custom loss

I have an issue with xgboost custom objectives: I do not manage to get consistent forecasts. In other words, the scale of my forecasts is not in line with the values I would like to predict. I tried ...
1
vote
0answers
26 views

Predict with some probability the day of the month paycheck received through daily transactions

I am using R to do machine learning. I have daily shopping expenditure data of individuals over a couple of months and my goal is to be able to identify through their shopping pattern the day of the ...
1
vote
0answers
38 views

How to deal with similar feature values but each indicates to a different information?

If I have a feature with replicated values but each of these values indicates a different piece of information. example: feature 'street name' with value 'A' which some of these 'A's are for Boston ...
1
vote
0answers
21 views

Multi-label learning, how to interpret the scores of instances

I am working on a multi-label learning classification problem. When I tune the hyperparameters of the model, the sign of each label (each line on the MLL) remains the same while the scores change. ...
1
vote
0answers
40 views

Unable to Print or Save Predicted Results in Orange?

I have applied some models (Logistic, Tree, SVM, Neural Network, etc) in order to predict my results. However, when I printed or saved my predicted results, I was unable to print the Complete ...
1
vote
0answers
74 views

Keras prediction

I have been editing this stock price prediction program. I am new to python programming. I am trying to print the predicted values for the next 10 days. however it is printing the prediction for the ...
1
vote
1answer
24 views

Service Request classification, questionnaire filling and call logging

I am very new to machine learning. I just went through some of the tutorials in Azure and completed one practice workflow(car price prediction). I hope I can ask basic questions here. Scenario : We ...
1
vote
0answers
130 views

How to create a timeline graph ( Date / time series) in MATLAB?

The data file is attached https://ufile.io/ttwi8.How may I create a timeline graph where my y-axis is the number of cases(Demand and prediction as sjown in attached graph) and my x axis is increasing ...
1
vote
4answers
376 views

Which type of model to use and what's my target variable

I am a beginner in Data Science field, so sorry if my question is too basic. The task is to build an ad bidding model for online marketing which allows you to deliver targeted ads to the right ...
1
vote
0answers
13 views

Structures for incorporating linear functions into a nonlinear optimization problem

I'm working on a problem which naturally involves both linear and nonlinear operations, and I'd like some help understanding the best way to combine these into a neural network framework. To be more ...
1
vote
0answers
66 views

Make image label prediction from Chainer CNN model

I have train dataset of 8000 images and labels. Validation set consists of 1957 images and labels. The test set contains 2487 images. Each image contains White Blood Cell images. WBC is divided innto ...
1
vote
2answers
191 views

Predict Best Branch Locations For a Company

I have a dataset of existing 156 branches of my company with the longitude and latitude of each branch. Now we want to open 10 more branches. How can we predict the best locations for opening the new ...
1
vote
0answers
15 views

Import the same interval of previous week into the deep model

In a dataset, the data are the average of vehicles speed in the points (cells) of a map. I am trying to build a prediction model. While the inputs are the average of vehicles speed of all points in ...
1
vote
0answers
81 views

LSTM data scaling formula based on range

I am planning to run LSTM for a prediction project which has the following input ...
1
vote
0answers
141 views

Improving population weighting

Bit of a noob in this stats world, so apologies in advance for any naiveté. I did a fair bit of stats long ago in college but it's a distant memory, so please assume little knowledge! The dataset I'...
1
vote
0answers
27 views

binary classification for counting - estimating the error on counts due to error on prediction score

Ok, so I have the following set up: I have a binary classification problem and I am classifying events into signal and background. Ultimately, I want to count how many background events and how many ...
1
vote
0answers
115 views

How to calculate and print unseen time series values for LSTM after train, valid and test data

My dataset is time series data. It contains data of 10 packages. trainX = (1410,3,15), trainY= (1410,1), testX=(110,3,15), testY=(110,1). Input is three feature vectors of last three months and i am ...
1
vote
0answers
29 views

one predictive methods

Is there any algorithm/method/system/application that combine all predictive methods into one? so for users instead of deciding which method they should use, is there any platform that you just feed ...
1
vote
1answer
50 views

predicition for a specific month

I am attempting to build a predictive model based on the past historical data. I have details of specific machine failure based on the past year data. I have data from some months of 2016 and from ...
1
vote
0answers
139 views

Dataset containing spatial and temporal features (built on a CNN model)

A dataset contains spatial and temporal features. It contains the time series data (2 min intervals) of the sections of a map. It is 320*480 (320 map sections and 480-time intervals). Each row ...
1
vote
0answers
88 views

Naive/ Persistent Models & 7 Day Forecasts

When determining the baseline performance using a persistent or naive model I understand it to be using the value of the previous time step as the prediction for the next time step and then ...
1
vote
1answer
143 views

Predicting Customer Activity Absence

Could you please assist me with to following question? I have a customer activity dataframe that looks like this: It contains at least 500.000 customers and a "timeseries" of 42 months. The ones and ...
1
vote
0answers
112 views

Orange: Predictions widget on same data gives different results

I have built a simple tree predictor and then applied this to a new set of data. This was giving a very different probability distribution so I tested connecting the same training data and comparing ...