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
40 views

Pattern recogniser library for C# programs

I'm a regular user of the StackOverflow forum, but as this question is about a recommendation for libraries, which is supported at StackOverflow, and as my question is about data science libraries, I'...
1
vote
0answers
20 views

Confusion matrix of 3*2

I would like to include confusion matrix in my research report. I have a binary classification problem. The positive class is further divided into two types for example: Real Positive and Obstruction ...
0
votes
1answer
14 views

How does an RNN differ from a CBOW model

CBOW: We are trying to predict the next word based on the context (defined as a certain window of words around the target word) RNN can also be used for predicting the next word in a sequence, where ...
1
vote
0answers
19 views

Multivariate regression - not enough data?

I have a table with data about 10 agriculture parcels. Each parcel has data in time regard the number of nutrients each parcel has received in each day and in the end I have the total number of ...
0
votes
1answer
17 views

What are more advanced techniques than ARIMA?

For timeseries predication cases, what other techniques are available in statistics or machine/deep learning other than MA (moving average), ARMA, and ARIMA?
0
votes
0answers
34 views

How to use time series datasets that have the same time stamps and features across multiple locations for predicting energy output?

I have some datasets: One dataset is comprised of the overall solar energy/wind energy production of a country. The rest of the datasets contain weather data (temperature, pressure, wind speed, etc.) ...
0
votes
0answers
27 views

How to consider the change in categorical variable in multiple linear regression?

I am building a multiple linear regression model to predict the mileage of tires and one of the independent variables is the wheel position. It is categorical and I could encode it to run the model ...
0
votes
1answer
13 views

What is predictive Horizon?

I understand the basics of what predictive Horizon means. When we predict in future, we set up a time window. In other words, it is used to determine how far ahead the model predicts the future. ...
0
votes
0answers
20 views

Using a randomForestSRC model to predict new values always produces the same value

I fit a multivariate random forest model using randomForestSRC, but when I try to use it to make predictions, it always prints out the same value. In the code below,...
1
vote
0answers
15 views

Prediction method when the time series is not sequential?

I have multivariate time series data consisting of monthly sales of contraceptives at various delivery sites in a certain country, between January 2016 and June 2019. The data looks as follows: The ...
0
votes
1answer
51 views

What metric should I use to achieve perfect score when choosing all possible results?

A guy told me that he can predict which player I would choose from Greece's Euro 2004 Champion football team. Assume my choice was random. He then goes ahead and names all the players of the team. He ...
1
vote
0answers
16 views

Prediction of rain using DBSCAN and Spectral Clustering [closed]

I wanted to do a prediction model of rainfall after clustering of data. I don't know how to proceed.Is it possible? May be using csv data.
0
votes
1answer
24 views

How to handle "year" variable for classification

I am writing to you because I need to create a model that tells me whether or not a company will pay its taxes the next month. For that I have data from 2017 to 2020, with characteristics such as size ...
1
vote
0answers
11 views

Evaluation of reliability of suppliers by on time delivery

I am trying to create a weight that can help me properly evaluate the reliability of a company’s on time delivery ratios. I’m using historic delivery data. For example, comparing company A that ...
0
votes
0answers
20 views

Can the same data set (dynamic) be described as Chaotic & Pareto?

I'm trying to abstract the mathematical part of the problem as much as possible before the details follow, There's this dynamic data set that's $O(2^{32})$, a recent result described it as a power-law ...
1
vote
1answer
18 views

Rule based prediction for known data

Lets say we have trained our model on 900 records (training data) . During prediction on test data of 100 records, assume model produces 95% accuracy. The question here is, can a mechanism be built, ...
1
vote
1answer
62 views

Random Forest. In a prediction less input is expected than features used

ValueError: Number of features of the model must match the input. Model n_features is 2 and input n_features is 7. I have the following error: I have not used any type of encoding(like one-hot etc.) I ...
1
vote
0answers
15 views

Error while using pre-trained model

I'm working on NLP task using RoBERTa model. As training last very long I saved my model, but now for some reason, part of my code doesn't work with this pre-trained model (getting an error), and ...
1
vote
0answers
25 views

Is there a dataset that can predict duration to complete a task using task description? [closed]

I am working on a problem where the task is to predict how long will it take to complete a given task using just the description as a feature set. The description is something like "pick up X and ...
1
vote
1answer
35 views

How do you effectively predict the top 20% most likely customers to churn from a dataset?

I am looking to work out that if I have a dataset with 100,000 existing customers who didn't churn and 20,000 previous customers that churned in the past and the business objective is to target the 20%...
2
votes
0answers
30 views

Time series forecasting for vibration prediction on Industrial machine production?

I'm working on a machine learning project related to an industrial machine. The goal of the project is to build a model that would be able to predict the vibration of the machine while it's in ...
0
votes
0answers
9 views

Minimising inputs for decision tree predictions

It is common for decision trees with asymmetrical shapes to have leave nodes that come early. For example, the model can already generate a prediction if the answer to the first question is FALSE, ...
0
votes
0answers
9 views

Forecasting mon missing time timeseries data

I have time series data for minutes interval. But due to some noise i have to remove some rows from data. Now, I have data with some missing time stamp. What should i do for forecasting in this case?
1
vote
1answer
45 views

Keras: Provide One-Hot-Encoded input values to neural network

I have a dataframe which has two columns of interest: A and B with string values. I am trying to build a prediction model which takes in a set of values in A as input and predicts the corresponding B ...
0
votes
0answers
13 views

Multiple Input (Binary) and Single Ouput: How to calculate correlations?

I have a dataset with multiple criteria which are either "passed" (green) or "not passed" (red) and an output (passed or not passed) -> see table. Also the criteria have a ...
0
votes
0answers
46 views

Divergence of Specificity and Sensitivity

I am working on a ML classification project in healthcare. The data is imbalanced, and I decided to start modeling with tree-based algorithms such as (Balanced)RandomForest and XGBoost. While checking ...
0
votes
1answer
25 views

How to get periodicity from timeseries data?

I would like to create a recommendation system for a smart home application. I gather the data in a time-series database. The app monitors the on/off state of a smart lamp and can create daily ...
1
vote
1answer
86 views

Predicting high frequency sparse time series data in python

I have a dataset of a couple of EV charging stations (10 min frequency) over 1 year. This data consists of lots of 0's, since there is no continuous flow of cars coming to charge but rather ...
0
votes
0answers
13 views

Can I use depth prediction map to infer horizontal distances?

I have a hardware + software setup that uses a sensor to give good estimates of depth, onto a pixel map - think Kinect or similar. Example below for context: Now assume I can access individual pixel ...
0
votes
0answers
22 views

Predicting in decision rules

Sequential covering is a type of decision rule procedure that repeatedly learns a single rule to create a decision list (or set) that covers the entire dataset rule by rule. Given a training dataset, ...
0
votes
2answers
78 views

Warning when plotting confusion matrix with all sample of one class

I have two arrays: the first one with all the correct labels (they are all set to zero since each sample belong to the same class) and another one with all the labels predicted by my neural network. ...
0
votes
0answers
11 views

How can I intuitively calculate the accuracy of my financial prediction model?

I've built a SARIMAX model based on my personal spendings record as a college thesis and have reached a point where I'm pretty content with how it turned out and am getting ready to start writing the ...
0
votes
0answers
26 views

Demand Prediction (Retail Sales) Datasets for Benchmarking

I've been looking for 2 days and can't seem to find what would normally appear as trivial: a Time series (preferabl daily or intra-day resolution) Demand or Sale Labelling Retail Dataset Preferably ...
0
votes
0answers
21 views

Machine learning model to predict performance degradation over period of time

I am new in ML space and working on the task to build a model that would predict performance degradation of integration bus in real time or "almost real" time. The idea is fairly ...
1
vote
0answers
22 views

Difficulty understanding the difference between Poisson, Quasi-Poisson, and Negative Binomial models

I will try to keep this short. As an assignment for my GLM course, we were given a dataset on the # of homicide victims a person knows, as well as the race of the person. The main idea is to answer ...
0
votes
0answers
15 views

Angle prediction

I am working on an assignment for neural networks and I need to predict an angle. firstly the last layer of the neural network directly predicts the angle, secondly, the last layer gives as an output ...
2
votes
0answers
20 views

History that lead to the word "predict" being used for the application of a model on data

Background The framework scikit-learn uses "predict" for the application of model on (new) input data and I have seen many people use that term. In the scientific papers that I have read (...
0
votes
2answers
277 views

How to read the predicted label of a Neural Netowork with Cross Entropy Loss? Pytorch

I am using a neural network to predict the quality of the Red Wine dataset, available on UCI machine Learning, using Pytorch, and Cross Entropy Loss as loss function. This is my code: ...
1
vote
0answers
9 views

Should I give regularly-spaced or irregular-timestamped data to a price predicting neural network?

I am building an application to predict the price of an item. Data is collected at regular 5-minute intervals while the application is running. Unfortunately, there is downtime, so there is not a full ...
-2
votes
3answers
53 views

How to decrease $R^2$ value and change it to positive value [closed]

I'm working on a data, and use regression , as you see bellow: from sklearn.svm import SVR regressor = SVR(kernel = 'linear') regressor.fit(trainX,trainY) above ...
0
votes
1answer
536 views

Found input variables with inconsistent numbers of samples: [30, 24]

I'm using neural network machine learning and would like to see the result of my confusion matrix for my model. However, there is an error that I've got and don't know how to solve it. ...
0
votes
0answers
15 views

Unseen samples(Rare category) during prediction?

Say if I train on these features(combination of categorical and numerical data), we could see that in feature x2, sample 4 has a rare entry 'b'. if during my train test split, I end up not getting ...
1
vote
0answers
21 views

How to do prediction on survival data, using Random Forest

I should make prediction on survival data, using the random Forest method. My question is: should I follow the same approach as in logistic regression? taking into account only the status variable or ...
0
votes
0answers
18 views

Feature Engineering and prediction with R and python

I have a sequential dataset, and have 2000 rows for 300 ID. I have 20 variables (i.e in my real dataset) ...
0
votes
1answer
57 views

How to use prediction model after onehot encoding?

I have created a prediction model for this dataset ...
3
votes
2answers
496 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
79 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
46 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
132 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
2 3 4 5
8