Questions tagged [prediction]

The tag has no usage guidance.

143 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

Preparing and combining datasets for predictions

I am trying to create and train a model to predict the winner of a professional DOTA match. This model is only for "fun" and shouldn't be used for ...
0
votes
0answers
39 views

How to predict out-of-sample observations with depmixS4 package in R?

I have a series of univariate data and I want to fit a Hidden Markov Model on it using the depmixS4 package on R. My final goal is to predict the next k observations (let's say k = 10) for the data ...
0
votes
1answer
23 views

Predicting invoice data of 12 month using only 1 month data

I have only 1 month of historical data of invoices can I predict next 12 month of data with good accuracy if it is possible then which model should I used for prediction? Thanks
0
votes
0answers
52 views

Is padding the right way to allow your model to make prediction with test sequences of shorter lengths?

Say I have a RNN-lstm encoder-decoder model trained on fixed timesteps (no padding when training, all sequences are treated as if having the same lengths). My testing criteria requires me to provide ...
0
votes
1answer
26 views

Does my prediction improve when I use more, but worse classifiers?

I have a logical problem when programming my tumor identification algorithm. In my data sample, I have tested multiple antibodies on tumors - to identify whether those tumors are good or bad. This is ...
0
votes
0answers
31 views

Predicting next rows in tabular dataset

I have a tabular dataset of financial transactions with a target binary variable 'isFraud' which indicates if the transaction is fraud or not. I want to build a model that given some past trasactions, ...
0
votes
0answers
24 views

Effect of batch during prediction

During prediction (not training), is it normal to get different loss for different batch size? Worst case happens when I use batch_size=1 for test dataset. The prediction performance get pretty bad. ...
0
votes
0answers
29 views

What algorithmic solution would you use for this scenario?

The Project In a Nutshell Use an algorithmic solution to predict with 70%+ accuracy in as close to real-time as possible the increase and decrease of at least three numeric incremental movements for a ...
0
votes
1answer
42 views

Regression performance varies hugely on shuffling training and testing data

I'm working on a regression problem to predict a variable y based on an input vector X with about 10 columns. To split the data for training and testing, I use the ...
0
votes
0answers
10 views

Estimating the progress through a workflow with an arbitrary number of steps

I have a dataset where a record (a customer order, to choose a made-up example) goes through a set of steps until eventual completion. The set of steps is generally very similar, with small variations ...
0
votes
0answers
75 views

Predict how many days until New Purchase

I am trying to introduce myself into predicting with dates and I am having big troubles understanding how to do it. I have a dataset with customer orders from an e-commerce platform with the usual ...
0
votes
0answers
169 views

Keras Predictions as a list of file names for each class

I've created a model using Keras, I have trained it with a training and validation set, and have used a test set filled with random number of images for each class. My test set consists of one folder ...
0
votes
0answers
42 views

Binary classification of multiple Sequences using Keras

I am trying to classify multiple independent sequences using Keras. My data looks like this (example with different stocks and their values). ...
0
votes
0answers
11 views

Measuring chance (“risk”) of being in some class

I don't know if this question fits better here or in statistics, but I think here is more appropriate. I have a dataset with several companies and its features and also I have the information if they ...
0
votes
1answer
56 views

How to measure model success in production

I have a model running on a productive system. The model predicts if some lead will become a sale. How would you develop a check, which checks the success and the accuracy of the model? There is a ...
0
votes
1answer
288 views

Why is predict_generator is returning an empty array?

I am trying to print the predicted labels of my test data but the predict_generator() function is returning an empty array. My Model: ...
0
votes
1answer
55 views

I am getting very minimal mse values and not sure if it is correct?

Below is the linear regression model I fitted and not sure if I am doing the right way as I am getting neat to 99% accuracy Fitting Simple Linear Regression to the Training set ...
0
votes
0answers
31 views

How to calculate the prediction interval?

I am recently engaged in a project of predicting the future blood glucose values of the patient. I was able to get a lower RMSE and MAE by using Gradient Boosting Algorithm. But although the error is ...
0
votes
0answers
33 views

Using Neural Networks on images to predict successful vs unsuccessful trades

The context for the problem is day trading: identifying the moment when one can buy units of a stock and then wait for them to grow in value before selling them at the new price. Currently I have a ...
0
votes
1answer
57 views

Time Series Classification for loan data

I have multiple columns for loan installment repayment. As there is a field for month of repayment, I want to predict if the customer is going to pay next month's installment or not. As I have ...
0
votes
2answers
63 views

prediction using LSTM

i have training data from 2015-2017 and testing data of 2018. i have multiple variables my data is multivariate time series data.i want to predict 2019 data by using test data of 2018.is it possible? ...
0
votes
0answers
20 views

Loss is decreasing but the predictions are not getting well

I am trying to implement a Dependency Parsing model using the transformer model in here with a few changes. On the training, my loss has decreasing trend; but the predictions at the end of 20 epochs ...
0
votes
1answer
169 views

Why the first prediction of neural network in PyTorch is slower than following predictions?

So I have ResNet50 trained to classify images. For each prediction I track the time needed for it (input and model are moved to GPU): ...
0
votes
1answer
225 views

Machine Learning based Multivariate Time Series Prediction - How to create supervised data format

Q1: I have a multivariate time series dataset. For each timestep, there are 11 features and 1 output. I am going to use supervised ML to predect the output. I understand that in univariate cases, if ...
0
votes
0answers
14 views

Find possible fearure values to predict a certain outcome

I have a dataset about patients waiting times in a health district. The data is aggregated by health provider, type of medical procedure, urgency of the procedure (3 classes) and reports the n. of ...
0
votes
1answer
265 views

Include time as a variable in regression model

I am currently working on a regression problem which requires me to predict the costs of a fixed asset. I have used several variables to do so and derived a predicted cost. However, my superior has ...
0
votes
0answers
2k views

How to fix “'The `start` argument could not be matched to a location related to the index of the data.” Error?

When I try to predict the results using ARIMA for a specific train/test split, its throwing an error like this: "'The start argument could not be matched to a ...
0
votes
1answer
49 views

Why am a getting wrong prediction when combining two list of samples, which individually gives correct prediction?

So I am coding in Python. I have to set of samples. Set1 contains samples of class A and the other set, Set2 contains samples of class B. These samples taken are a part of the training dataset. When I ...
0
votes
0answers
46 views

Choosing loss function in Keras for prediction binary_crossentropy or categorical_crossentropy

What loss function in keras should I chose for binary_crossentropy or categorical_crossentropy? I have data like : $w1,w2,w3,w2,w2,w1,w3,w5,w9,w5,w4...$ I want to predict sequence: input: $w1,w2,w3$...
0
votes
1answer
45 views

Searching prediction from 4 datasets

The fourth dataset contains (train_data, test_data, previous_data, and information_history_data). The goal is to search for a user's rating on the loan to the bank. ...
0
votes
0answers
114 views

How can I evaluate my sequence prediction model?

I want to evaluate the performance of my prediction model , which is an VED (Variational Encoder Decoder) used for sequences prediction (it predicts the next sequence knowing the actual) I want to ...
0
votes
1answer
41 views

Comparing different classification results with different trainig and test data

I have different samples of different sizes. The instances of each sample have different features in comparison to the instances from the other samples. For each sample, I train my model and tested ...
0
votes
1answer
48 views

Find suitable locations using Machine Learning

Just for fun, I am currently trying to find suitable locations to deploy new stores. So what I did so far is to take the actual sites of current stores and to assign surrounding variables to it. These ...
0
votes
1answer
887 views

Predictions with arbitrairy sequence length for stateful RNN (LSTM/GRU) in Keras

I have time series data of the following properties: input shape: (num_timesteps, num_features) output shape: (num_timesteps, num_outputs) I reshape it to batch ...
0
votes
1answer
844 views

How to Predict/Forecast street's Traffic based on previous values?

I have a dataset which has the following 5 columns: date, hour, day_of_week, street_id, counts My dataset has information about the number of cars that each ...
0
votes
1answer
40 views

Experiment click to lead prediction with Azure ML

I am experimenting now with the Azure ML Studio and I am trying to predict leads based on the clicks I have. I am exporting a data set of 60.000 Clicks and 8.000 Leads from these clicks. My data ...
-1
votes
1answer
44 views

Algorithm for Multivariable timeseries prediction (COVID forecast)

I am trying to forecast tomorrow's COVID-19 cases in my country. I tried a simple Linear Regression implementation based on the "new_positives" field but it does not work very well. I had ...
-1
votes
1answer
47 views

How to approach the dataset with a continuous and discrete label?

Let's say you're predicting the amount of money to bet in a poker game. Based on the game situation, you might decide to fold. In that case, the amount of money to bet is zero. If you decide to call ...
-1
votes
2answers
14k views

Determine accuracy of model on train data with Pandas DataFrame

I am trying to compare the accuracy of my XGBoost model output to that of a test set (data encoded in binary). My data is stored in a Pandas DataFrame. I am doing this with SKLearn by: ...
-1
votes
1answer
132 views

Considering outliers in demand predictions

I have times series data with demand observations during months. I was wondering if, when computing demand predictions, I need to consider the outliers of the observations or not. What is your opinion ...
-1
votes
1answer
1k views

How much should I pay attention to the f1 score on this case?

I trained a model with results as below. It is a stacking model with base learners of random forest and gradient boosting. The mega model is a GLM. The dataset is imbalanced in the target class as ...
-2
votes
1answer
632 views

Q: xgboost regressor training on a large number of indicator variables results in same prediction for all rows in test

I'm training a XGBoost regressor in Python on a data set with a large number of indicator variables (one-hot-encoded from categorical variables) and a few numerical variables.The dataset size is over ...
-2
votes
2answers
84 views

New to Data Science - What to use when looking for a pattern/relationship between items and an outcome

I am new to data science and I am hoping I can start applying it to my job. I have watched some videos on places like Udemy for Machine Learning and Python etc. Anyway, I have a task but I am not ...

1 2
3