Skip to main content

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
1 answer
21 views

Can Polynomial Features Be Used in Logistic Regression and Random Forest Models?

I am working in Python to predict the treatment response of 43 patients using 10 predictors as input. I noticed that adding polynomial features to my models produces nearly perfect results. I am ...
waleed almutairi's user avatar
0 votes
0 answers
5 views

Enhancing the predictive capability of traditional node-similarity indices with the Node2Vec algorithm

I am trying to test enhancing the prediction capabilities of traditional node-similarity algorithms, like the Jaccard Coefficient or Adamic Adar, with graph embeddings, like the Node2Vec. I think it ...
OSCAR CONTRERAS's user avatar
6 votes
1 answer
252 views

When the regression models outperforms naive method?

I followed from this question. Case1: I have the following task to do: Training by the consecutive 3 days to predict the each 4th day. Each day data represents one CSV file which has dimension 24x25. ...
S. M.'s user avatar
  • 155
0 votes
1 answer
23 views

Multivariate linear regression via scikit and statsmodels

want to preface this first with terminology: multivariate regression deals with the case where there are more than one dependent variables while multiple regression deals with the case where there is ...
Borla312's user avatar
1 vote
0 answers
17 views

Need advice on feature engineering on Longitudinal Data

I'm trying to predict the rated capacity of a wind turbine given factors such as wind speed and direction. Now since this is weather data which is high resolution, I don't want to just average things ...
occamis's user avatar
  • 11
0 votes
1 answer
40 views

Daily Balance Prediction Using LSTM & ARIMA

I have the daily transaction history of a person from 1/1/2022 to 6/24/2024 in a csv file. The data is divided into train (1/1/2022 to 5/25/2024) and test (remaining). The data is given as : Date ...
pi-π's user avatar
  • 101
0 votes
0 answers
12 views

Is it appropriate to utilize LSTMs for multivariate binary prediction on a timeseries by sliding block-by-block vs row-by-row?

I am trying to implement an ML algorithm for multivariate regression on a list of several timeseries. There are hundreds of timeseries, each one millions of rows long. There are 13 features, and I'm ...
HyperThready's user avatar
0 votes
0 answers
14 views

How to adjust classification totals based on known bias of estimator

Let's say I have a dataset, $D$, with known ground truth labels. I nonetheless use a few-shot LLM classifier on this dataset to predict $k$ classes for each label. From the LLM results, I get ...
Learning stats by example's user avatar
0 votes
0 answers
16 views

This is a Proposed course

The following is a proposed class exercise for a course introducing automated data-driven decision-making to new engineers, given their interest in the topic. I'm interested in feedback. Does the ...
Henry Pozzetta's user avatar
0 votes
0 answers
27 views

predicting categorical result

im doing a clinical research for surgery. Main goal is to predict difficulty of operation with preoperatiive information. I found three variables as significant factor for difficulty of operation ...
kazu's user avatar
  • 1
2 votes
1 answer
45 views

Techniques for solving the problem with an unbalanced data set

I am trying to solve a problem with an unbalanced data set. I have two classes, one is for patients with risk (1), the other for patients without risk (0). I have a larger number of patients without ...
Naty's user avatar
  • 21
0 votes
0 answers
26 views

Calculating prediction confidence from a sequence of token-level confidences

I am working with OCSR (optical chemical structure recognition) models, and they output a sequence of token-level confidences. I am looking for a method of summarising these token-level confidences ...
finlay morrison's user avatar
1 vote
0 answers
24 views

saving ML models with pickle to be deployed using Flask

I trained some ensemble Ml to predict, I needed to save with pickle so as to be able to deploy using Flask. To save with pickle I have tried several methods and read several articles but could not get ...
Kehinde Olatunji's user avatar
0 votes
1 answer
79 views

Build a Neural Network for Multi-output Regression

I have a network model that accepts about 25 inputs and outputs 3 actions. The outputs are: delta X and delta Y of the robot and the angle of the robot. After I enter the data into the model, I get ...
May's user avatar
  • 1
0 votes
1 answer
40 views

Missing data in train set and test set

I have a dataset of N columns. Now I'm able to preprocess data and find a subset of features that I can use to train a model and make predictions. In the case where the train data has missing feature ...
0-0's user avatar
  • 1
0 votes
0 answers
14 views

Machine Learning Algorithm for identifying the factors contributing to academic performance of students

I have a dataset with several qualitative and quantitative attributes, including age, location (longitude, latitude), city, parent occupation, family size, GPA etc. My task is to find the attributes/...
Dawood Ahmad's user avatar
0 votes
0 answers
16 views

Some questions about Ensemble batch prediction intervals (EnbPI) algorithm

On line 18, should j not start with t-s+1 and end with t? On line 19 why is the same x_t considered in the loop?
user1156715's user avatar
0 votes
0 answers
8 views

Creating a rule based approach to identify Stock Out products

I am trying to build a Stock Out Predictive Model based on input variables such as: Sell In Unit: Units per month sold to wholesaler by manufacturer Sell Out Unit: Units per month sold by wholesaler ...
Sushmoy Mallik's user avatar
0 votes
1 answer
37 views

is Sequences, Time Series and Prediction course up to date?

Recently I asked a question regarding Time series prediction and someone commented that I should consider taking DeepLearning.AI course: Sequences, Time Series and Prediction. My goal is to make good ...
Cohensius's user avatar
  • 163
0 votes
1 answer
105 views

Getting actions probabilities instead of an unique prediction in Stable Baselines 3 SAC?

I try to understand how getting an actions probability table instead of an unique prediction in stable baselines 3 SAC in order to override 'predict' method to filter invalid actions. I guess the good ...
GerardL's user avatar
  • 13
-1 votes
1 answer
56 views

Why is my NN model's prediciton for y= sinc(x) function showing symmetric?

...
RimaMonica's user avatar
0 votes
1 answer
92 views

Sale Forecasting Problem -- Is it legit to use inventory level as a feature?

I'm working on a project to predict future sales for our company's products so that the supply chain can have better idea how much to restock. Detail about the model I'm working on: Model: LGBM (from ...
user159479's user avatar
0 votes
0 answers
20 views

Prediction with optional parameters

I want to build a machine learning model that has 25 input feature and two labels (my problem is a regression task if it makes any difference), to my knowledge since I have two labels I need two ...
Aws rayyan's user avatar
0 votes
0 answers
29 views

Using simple RNN to identify a simple dynamic linear system

I have been trying to identify a simple linear second order system (e.g. a pendulum or a mass-spring system), by simulating it in Python using backwards-euler method and then feeding the step changes ...
APasagic's user avatar
0 votes
0 answers
38 views

R, Caret Predict(), and errors

So I've been playing around with/testing out a few ideas. I just wasn't sure though if there is a simple command you can use to have caret like send you back a list (or data.frame) of all the errors ...
Nevermnd's user avatar
0 votes
0 answers
44 views

Winter Holt's Time series model

I am confused with the Winter Holt's Time series model usage. I use 2 years of data to train and want to predict 3rd-year data. Note1: I have partial 3rd year's data, but I want to use it to check my ...
kg__'s user avatar
  • 1
0 votes
0 answers
411 views

Prediction of the next number 0 to 9 that doesn't have a particular sequence

How to predict a number from 0 to 9 that are random and doesn't have any particular sequence that the numbers are following?
user155498's user avatar
1 vote
1 answer
114 views

Dealing with varying predictive horizon

I know that the predictive horizon is the time window that runs from the observation of the data to the manifestation of the target variable. But how can I deal with prediction if the time horizon ...
Marco Ballerini's user avatar
1 vote
2 answers
236 views

Feature selection - How to identify the best subset

I am using three feature selection method on a dataset containing 15 inputs. I need to extract the best 5 features. Each of the three method gave a subset of the input dataset, but they are different. ...
Aparna's user avatar
  • 11
0 votes
1 answer
47 views

What is the highest possible prediction accuracy when I flip some labels at random?

I want to predict MNIST labels in a binary setting using a simple MLP model (0 for digits 0-4 and 1 for 5-9). For the train and test data, I randomly flip 25% of the labels. Is the maximum achievable ...
Johannes97's user avatar
0 votes
1 answer
254 views

Do prediction intervals for Random Forest predictions are average of prediction intervals of trees being Random Forest estimators?

I am working on adding prediction intervals for each prediction value of new input samples. Do prediction intervals for Random Forest predictions are average of prediction intervals of trees being ...
Paulina's user avatar
  • 15
1 vote
0 answers
41 views

ML with Python - extract information from user text

I'm a web developer, got a little experience with Python but none on ML. Tour operator customer want to introduce AI/ML on his website, the goal is to have a single text input where user can prompt ...
fudo's user avatar
  • 111
0 votes
1 answer
63 views

Sequence prediction in Parent - Child dataset

We have a large collection of documents (D), each accompanied by a set of metadata (M). Within this collection, some documents act as parent documents and have multiple child documents. Both parent ...
6nagi9's user avatar
  • 101
0 votes
2 answers
1k views

How to predicting the next date with Python ML

I have a list of dates around 10 dates in asc order. These are the dates a buidling was open. I need to predict the next date using this. I tried scikit learn like below ...
RandString's user avatar
1 vote
1 answer
197 views

How to predict what someone will order?

Suppose Prof. X goes to a road side tea-coffee shop everyday at 5pm just after his office. After reaching there he tosses a coin, and places his order tea or coffee. The shop owner Y has been ...
S. M.'s user avatar
  • 155
0 votes
1 answer
563 views

Remove Seasonality before applying SARIMA model on weekly data?

I am trying to predict average weekly stock prices for time series data. Steps I followed: I tested the data to check whether it was stationary or not using ADF ...
Kriti's user avatar
  • 363
0 votes
1 answer
36 views

Integrating time context in a machine learning model

Basically, what I'm curious about, are there any methods in machine learning to make the model take into account events that happen in real time that affect the data points during that time period. ...
Maxim Chopivskyy's user avatar
0 votes
1 answer
16 views

Do models of social systems suffer from prediction drift?

Background I've created a binary classification model that predicts the probability of fraud for a given sample. The choice of threshold allows me to set how many frauds are captured in the training ...
Connor's user avatar
  • 671
0 votes
0 answers
46 views

Differential equations, real time measurements of variables, and ML

TL;DR: We measure variable $x$ every $10$ minutes, solve a differential equation $\frac{\mathrm{d}y}{\mathrm{d}t}$ where $y=f(x)$. We are interested in the time it takes for the cumulative value of $y$...
Hitanshu Sachania's user avatar
0 votes
1 answer
111 views

Testing RANSAC regression model

I am going to build the model (e.g. multiple linear regression) to predict the appartment cost in my city. First I have to find outliers in training data. For this task RANSAC regression algorithm ...
Irina Svist's user avatar
0 votes
1 answer
21 views

Force network to weigh specific variables during learning

I have a pandas data frame containing around 100000 observations of plant species and their age with additional numerical predictors (climate). I used tensorflow ...
kjtheron's user avatar
  • 153
0 votes
1 answer
85 views

Combine machine learning feature selection with time series

I have basic knowledge in time series prediction and supervised/unsupervised machine learning algorithms (clustering, classification, decision tree, etc.) I am now given a task to predict a bunch of ...
Alex's user avatar
  • 1
0 votes
0 answers
27 views

How to improve pytorch network to be more precise

I have a pytorch neural network which is being trained on data containing multiple financial values and some other non numeric values translated to numbers with self created logic (for example if ...
Mi Ro's user avatar
  • 101
0 votes
1 answer
753 views

Append prediction of tensorflow to a pandas dataframe

I built a tensorflow model to make text classification in four category, after testing and evaluating it, I need to apply it to actual data to predict the class of them, I create a predict function ...
Ali A. Jalil's user avatar
0 votes
1 answer
57 views

Get dependant probabilities in multiclassification

After training my CatBoostClassifier model I call get_proba function which returns me list of probabilities. The problem starts from an another point... I transfer that data into dataframe then to ...
Master_Sniffer's user avatar
0 votes
1 answer
29 views

Excessive features in an Neural Network model

I am modeling a quality parameter of a chemical process product. I have a list of circa 400 process parameters sampled throughout the process. Most of them should have no meaningful impact on the ...
machinelearner's user avatar
1 vote
0 answers
45 views

How to improve the AUC scores of my link prediction algorithm?

I am exploring a link prediction algorithm, but my AUC scores change every time I run it and it is always very low. It varies from 50 to around 72. I was wondering if there is a way to improve their ...
OSCAR CONTRERAS's user avatar
1 vote
0 answers
38 views

Strange behaviour around zero for predicted distributions from a deep learning regression model

Can somebody help make sense of these very odd distributions that I obtained from my trained deep learning regression model? The model was trained with either MAE or MSE loss, which is what the ...
Daan Scheepens's user avatar
0 votes
2 answers
85 views

What model to fit to call center data

I have a dataset with calls from day 1 to day 340. What model can I fit to mathematically capture the pattern? There are only 1 or 2 digit number of calls on all days except day 61.62.63 and 121.122....
Mnag's user avatar
  • 3
1 vote
0 answers
34 views

"Most forecasting algorithms assumes that each point is independent of one another." If so, how forecasting is being possible?

In stationary, if we want to make forecasting, we have to make our data stationary(On classical methods), I get that, but If every data point is independent of each other, how can we make the ...
Canovich's user avatar

1
2 3 4 5
9