Questions tagged [prediction]

prediction is the use of data, statistical algorithms and machine learning techniques to identify the likelihood of future outcomes based on historical data. The goal is to go beyond knowing what has happened to providing a best assessment of what will happen in the future.

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

How to use prediction model after onehot encoding?

I have created a prediction model for this dataset ...
3
votes
2answers
553 views

Speed up Keras Model Prediction Load Times

I am trying to create a prediction API using keras which loads the model predicts and closes the model. But initializing time in python is about 3-5 secs so each request takes around 5 secs to return ...
0
votes
0answers
14 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
1answer
85 views

How to reconstruct a scikit-learn predictor for Gradient Boosting Regressor?

I would like to train my datasets in scikit-learn but export the final Gradient Boosting Regressor elsewhere so that I can make predictions directly on another ...
0
votes
0answers
53 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
137 views

Encoder-Decoder LSTM for Trajectory Prediction

I need to use encoder-decoder structure to predict 2D trajectories. As almost all available tutorials are related to NLP -with sparse vectors-, I couldn't be sure about how to adapt the solutions to a ...
1
vote
0answers
132 views

LSTM giving almost constant output

I have used an LSTM with 4 layers deep each layer having 10 LSTM units to predict the AAPL stock 500 steps away by looking 50 steps back and it was predicting well (only a lag was there). However when ...
0
votes
2answers
91 views

Predicting the likelihood that a prediction from a linear regression model is accurate

So to set up the problem: I have a data set that had labeled data like colour, brand and quality as independent variables and the dependent is RRP (price). I have made a linear regression model using ...
0
votes
2answers
29 views

Can we consider high correlation to be a good predictor?

The problem of predicting the daily number of COVID-19 cases is indeed challenging and many (external) factors should be taken into account to come up with a reasonable predictor. However, we have ...
0
votes
1answer
25 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
58 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
0answers
33 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
35 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. ...
1
vote
0answers
15 views

Confidence interval for class membership probabilities

I would like to calculate confidence intervals for predicted probabilities of a class membership obtained with randomForest. I know I could use predict.all in randomForest(), which gives me the ...
1
vote
0answers
43 views

*(CATEGORIES[int(prediction[0][0])])* giving me different result for single image prediction from saved model

From a saved model, I am trying to predict a single image. I followed this code - https://www.youtube.com/watch?v=A4K6D_gx2Iw I am getting different result for two different command- ...
1
vote
2answers
109 views

how do I predict the next's alarms ? (time series) [closed]

I'm trying to solve a time series forecasting problem, where the main goal is to read data with various alarm logs and make a prediction about what may happen in the future. Specifically, my data is a ...
-1
votes
1answer
45 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 ...
0
votes
1answer
56 views

Predict real world data after modelling with scaled features [duplicate]

I trained and test a model with scaled features. Now, I want to predict a single real world sample. If I have one sample alone, I can't scale it to fit into the model like I did with the test data. I ...
0
votes
1answer
196 views

Is it possible to predict sentiment of unlabelled dataset using BERT?

I have a large unlabeled dataset and I want to predict sentiment for each document in this dataset. I want to know, is it possible that I can use BERT for sentiment analysis of unlabeled data? I have ...
1
vote
1answer
34 views

target variable prediction among possible answers

I have a dataset on which I would like to apply a Machine Learning algorithm for multi-class classification. An example of my target variable (in string format, will be later ...
1
vote
0answers
23 views

Why does my model fail to predict on the whole dataset?

So I have about 3000 images with 6 classes and this is what I did: 1 - split into training set and test set prior to anything with 20% test size 2 - performed data augmentation on the under ...
-3
votes
1answer
50 views

Sir Rod Stewart's and Celine Dion's voice after 15 years i.e. Year 2035 [closed]

https://www.google.com/search?sxsrf=ALeKk03hQn_rH1aaf7yO0q7CgN7CxPw2vw%3A1601345036018&ei=DJZyX9BW_o_j4Q-Fn77QCg&q=rod+stewart+age&oq=Rod&gs_lcp=...
-1
votes
1answer
67 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
vote
1answer
63 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 ...
1
vote
1answer
73 views

Predicting game scores using sklearn

I am using onehotencoding and RandomForestRegressor to predict scores of a set of soccer games. How can I use it into ...
5
votes
1answer
137 views

Understand the equations of quantile regression forest (Meinshausen)?

I am trying to implement a quantile regression forest (https://www.jmlr.org/papers/volume7/meinshausen06a/meinshausen06a.pdf). But, I have some difficulties to understand how the quantiles are ...
0
votes
1answer
87 views

How to use a multiple linear regression model built from normalized data

I built a linear multivariable regression model from normalized data (for the interval [0; 1]). Initially, the data was not normalized, I normalized the data by myself (independent and dependent ...
0
votes
1answer
214 views

Machine Learning: Predicting target based on a feature

I have a df looks as follow: -It is very likely that the same feature1Xfeature2Xfeature3 combination will appear multiple times....
1
vote
1answer
149 views

LSTM model prediction scaling with loaded model

I am deploying a LSTM pytorch model for production and I have issue with scaling the LSTM output correctly. While the model was tested the output was scaled with label data: ...
1
vote
0answers
20 views

Stabilize Neural network prediction for class probability

I could not carry my question from stackoverflow I ve been trying to fit a neural network for binary setting using library(keras) and I am interested in class ...
0
votes
2answers
252 views

How to predict unknown unknowns in machine learning

I am dealing with a problem about classifying bird species through analysing MFCCs. I already built a dataset with 13 MFCCs for two kinds of birds. And I trained the data with Naive Bayes & KNN ...
3
votes
3answers
313 views

How to insert two features in a model when a feature only applies to a certain group in the model

I'm building a machine learning model in Python to predict soccer player values. Consider the following feature columns of the dataframe: ...
1
vote
0answers
54 views

Why NARX neural network and Hammerstein-Wiener model perform worse than simple sigmoid network nonlinearity estimator on any predictions?

I am currently working on dynamic modeling and exploring different techniques and algorithms to deploy a dynamic time-series black-box model. My data looks like the following: I have 7 inputs and 1 ...
1
vote
1answer
187 views

Predicting equipment failure with time series alarm data

I am trying to predict machine failures based on alarm data. The situation: There is approximately 4000 machine failures per year. These are labelled poorly (it is entered manually and can have ...
1
vote
0answers
22 views

Improve confidence interval accuracy

I am doing a linear regression on log-transformed data and I use the bayesian approach to model the predictive distribution and construct my 90% prediction Interval. The problem with this approach is ...
0
votes
1answer
62 views

Predicting next element of a sequence given small amount of data

I have data of bank branches and amount of revenue they have generated in a month. The data looks like this: I am tasked to find the expected revenue for the branch for the next month using machine ...
1
vote
0answers
101 views

Why are Neural Network predictions "correct", but offset from true value? Not using any past lagged values

I recently asked a similar question, but didn't get a response that really addressed/fixed the issue. Additionally, I've done some more work since then. I'm sorry for the long question below, I just ...
3
votes
3answers
4k views

Why are predictions from my LSTM Neural Network lagging behind true values?

I am running an LSTM neural network in R using the keras package, in an attempt to do time series prediction of Bitcoin. The issue I'm running into is that while my predicted values seem to be ...
1
vote
2answers
261 views

Why my training and testing set are about 99% but my single prediction does wrong prediction?

I have performed fruits classification using CNN but i am paused at a point where all things are going right confusion matrix accuracy score all are correct it seems there is no overfitting but it ...
1
vote
2answers
106 views

Machine learning to predict pollution at a single location

I have 2 months of air pollution measured data for a location of interest. I am highly interested to play with machine learning algorithms to predict pollution at the same location (let say, for the ...
0
votes
1answer
158 views

Can 1D-CNN method apply to real-time time series classification?

So I got an EEG dataset with shape (data points, 19), each row's shape (1,19) represent 1 second of EEG. I read much research on EEG classification that used many Deep Learning method and 1D-CNN is ...
0
votes
1answer
21 views

Predicting evolution of an unknown mathematical function with machine learning?

Is it possible to predict how a mathematical function evolves using ML? I am studying radioactive decay of polonium 210 and I have gathered data for its decay throughout a couple of weeks. I was ...
2
votes
2answers
62 views

Ingredients, Recipes and recipe ratings. I would like to predict the rating based on combination of ingredients

I would really appreciate some help on the first steps to my problem, suggestions of modeling techniques i could use or relevant research (i could not find any). I have a list of ingredients (150 in ...
0
votes
1answer
1k views

Multivariate, Multi-step LSTM time series forecast

I'm trying to predict the Pollution using a Multivariate and Multi-step LSTM code, I've been following this tutorial. I've been following the code until the end, but couldn't understand where the ...
0
votes
1answer
191 views

Keras Model Predict is not predicting all images flowing from directory?

I have the following code where I have done all the training and passed the testing set as a flow from directory. After that when I pass that object into the model.predict option, the array received ...
1
vote
1answer
42 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 ...
2
votes
1answer
31 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 ...
1
vote
0answers
32 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 ...
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
44 views

Two-class model with predicted scores needed - classification or regression approach

In my problem, step one is to build a model to classify cases as one of True or False (1 or 0 could also be used obviously). Once the optimum model is found, step two is to retrieve probabilities for ...

1
2
3 4 5
8