Questions tagged [forecasting]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
81 views

Finding p values and estimates of external variables in facebook Prophet for forecasting in Python

I am using facebook Prophet for multivariate forecasting which has an objecting of forecasting prices. My target variable is affected by n number of external variables too. I am using add_regressor ...
0
votes
2answers
674 views

How to predict next visit date based on this data

I have a dataset shown below. Here, status is if visit has been done or not and schedule is if next_action_scheduled. ...
1
vote
0answers
150 views

Generalization of RNN/LSTM/GRU… model

Given a time-series prediction with a Recurrent Neural Network (doesn't matter if LSTM/GRU/...), a forecast might look like this: to_predict (orange) was fed to the model, predicted (purple) is the ...
1
vote
2answers
487 views

What arguments should I pass to input_shape parameter of LSTM function in Keras?

My dataset has 2944424 rows and 6 columns. I am using an LSTM in Keras to forecast taxi demand. I am having problem with the input_shape parameter of the LSTM. It ...
1
vote
0answers
23 views

What approach should I take to model forecasting problem in machine learning?

I have a dataset which contains 4000k rows and 6 columns. The goal is to predict travel time demand of a taxi. I have read many articles regarding how to approach the problem. So, every writer tell ...
1
vote
1answer
60 views

Time Series Forecasting Seasonal type

As we all know there are two types of seasonal types, additive and multiplicative, but I have trouble telling them apart. To my understanding, in multiplicative seasonality, the magnitude of a ...
0
votes
1answer
719 views

Do we have to split our dataset into training & testing when using ARIMA model?

I am working on a project where I predict the total quantities sold at the ITEM/DAY leve. As for the model, I decided to with an ARIMA model (I'm using R). For guidance, I decided to follow the two ...
2
votes
1answer
48 views

Finding Outliers in Resource Forecast Data

Unsure if this is the correct place to place this, please close if so. I'm a workforce analyst at a large retail company, I own and maintain all the forecasting for our retail stores. This is based ...
3
votes
1answer
1k views

How to predict NaN (missing values) of a dataframe using ARIMA in Python?

I have a dataframe df_train of shape (11808, 1) that looks as follows: ...
0
votes
0answers
19 views

Standard for aligning data to week based on Mon to Sun for forecasting

I need to produce a forecast where i have predicted volume to a standard definition of a week. This definition is simply the week starts on Monday and Ends on Sunday. Is there an ISO standard that ...
2
votes
1answer
503 views

Time Series Forecasting for Multiple Customers using one RNN

I have a product which has univariate and also multivariate time series data from multiple customers. I have variable amount of data available. Ranging between couple of years to couple of months. ...
1
vote
0answers
242 views

How to apply an RNN to forecast non-stationary time series?

Is it possible to predict a time series which is non-stationary, in the sense that, the dependent variable Y have an increasing trend? Therefore, the highest value of $Y$ in the training set may be ...
0
votes
1answer
64 views

In which CRAN mirror is the quadprog package available?

I was trying to find the accuracy of some predicted data and I came to know that I can use the forecast package to do this. When I installed it and gave library(forecast), it said it needs quadprog ...
1
vote
0answers
202 views

predictive clustering trees in Python?

I am faced with a time series forecasting cold-start problem, specifically I am forecasting energy consumption of businesses where historic consumption data is available only for training but not new ...
0
votes
1answer
44 views

How to forecast time series analysis for more then one dependent variables?

I have three datasets: Dataset_1= column name as ID, Date, counter_id Dataset_2= column name as ID, no. of tickets sold ...
1
vote
1answer
529 views

Training a LSTM on a time serie containing multiple inputs for each timestep

I am trying to train a LSTM in order to use it for forecasting : the problem is basically a multivariate multi-steps time series problem. It is simply an experiment to see how statistical models (...
1
vote
2answers
82 views

Time-series forecasting

Here is the data: ...
1
vote
1answer
106 views

Training data : forecasted or actual?

I am working on a time series prediction problem. I am using keras models for machine learning. For this prediction, weather variables are used as input. They can be of two types: forecasted and ...
1
vote
0answers
112 views

What's the difference between ELM and NNAR?

I'm working with time series forecasting using the two techniques that involve neural networks, the Extreme Learning Machine and the Autoregressive Neural Network. Reading the two methodologies, the ...
2
votes
0answers
34 views

Can I forecast with discontinued data using ARIMA?

I have data for sales on monthly basis, but a few months' information is not in the CSV file or data file. Can I forecast or fill that missing month with other calculated values from present records? ...
1
vote
0answers
87 views

How to model non-linear demand function?

I am trying to build a dynamic pricing algorithm on intermittent data (a lot of zeros between non-zero values). I have on average 100 non-zero data points for each product. However, it seems to be ...
0
votes
1answer
74 views

What Predictions can be done for Restroom/Washroom Data? [closed]

My company has installed sensors, which actually monitors the Restrooms/Washrooms in the Building. Currently the sensors collect data such as Ammonia, Nitrous and Visitors Count; All the data ...
1
vote
0answers
83 views

LSTM - Forecasting usage (real world) [closed]

I see that LSTM is very powerful reconstructing time series it was fed with, but my issue is: => Can LSTM predict future values without requiring real (training/testing) data? My objective is simple:...
1
vote
0answers
36 views

forecast product demand in one week using machine learning approach

I'm trying to predict product demand in store. The predictors I have include price, competitor's price, store ID, date. My target variable is sales volume (in a particular store). What I need to ...
2
votes
1answer
77 views

how to predict content based demand

this is my first post at ds StackExchange, so please be gentle and let me know if something is not clear :) I have many products (>1M), and I save all the products purchases in a DB with a time stamp....
4
votes
1answer
3k views

Is there an R tutorial of using LSTM for multivariate time series forecasting?

There is a great blog post about how to use keras stateful LSTM in R to forecast sunspots. I applied it to financial ts data ...
0
votes
1answer
22 views

ML technique to predict next year output based on text quantities [closed]

I have a random data that I would like to predict how much a quantity will be in 2020. The data looks like this: ...
1
vote
1answer
432 views

How to calculate customer purchase interval and predict next purchase in python?

Suppose we have a data set consists of columns TransactionId, CardNo, TransactionDate then how can we calculate the customer purchase interval (means if customer A purchased on Jan 1st and after ...
4
votes
1answer
104 views

Is an Arma model equivalent to a 1-layer Recurrent Neural Network without activation function?

Given a time series $f(t)$ to forecast, let us consider an Arma model of the form: $$ f(t) = c + \sum_{i=1}^p a_i f(t-i) + e(t) + \sum_{j=1}^q b_j e(t-j) $$ where $e(t)$ are the forecast errors. On ...
2
votes
1answer
128 views

Forecasting energy consumption with no historical data when there is a trend

I want to forecast new customers' energy consumption. Let's say I can construct a set of attributes to describe new and existing customers (e.g. size of business, type of business etc.) and I have the ...
2
votes
0answers
1k views

Understanding how to use ConvLSTM for multistep ahead forecasting

I have a problem where I have transaction data for many banking accounts. The task is to train a model on historical debit/expense transactions and then forecast expense transactions for the next n ...
2
votes
0answers
681 views

Recommended model for univariate or multivariate multistep ahead time series forecasting

I have a dataset consisting of recurring and non-recurring expense transactions from bank accounts, as well as other features describing the bank account and each transation. I aggregate these ...
1
vote
0answers
45 views

What is the correct format of the test input for LSTM neural network? [closed]

I have learned some tutorials for LSTM time series prediction. According to that tutorials, My training data format would be like, NOTE : This data is only for example. this is not the real data. <...
2
votes
1answer
175 views

LSTM regression bias increases when targets go close to 0

I've build a LSTM model for time series forecasting. Results are not bad, with a mean normalized error of 7%. However, this normalized bias shows a clear pattern: The closer to 0 the value to predict, ...
1
vote
2answers
892 views

Multivariate VAR model: ValueError: x already contains a constant

I have already read this question and the associated answer. I have removed any 'all zero' columns, as recommended in the answer. I have 3,169 columns remaining. ...
0
votes
1answer
21 views

Autoregression with multiple factors

I am not sure if this is the right place to ask this question. Anyway, I am working on a Forecasting using spending data. Using autoregression, I am able to predict the following number decently well ...
1
vote
0answers
43 views

What kind of algorithm should I use to build ML model that can predict just next reoccurence of an event in the future (at irregular time interval)?

I'm quite new to machine learning and statistics. I've a dataset from some ecommerce sale's history. It's almost 2k instances, and features include personId (string), productCategory (string/...
1
vote
1answer
130 views

How is PACF analysis output related to LSTM?

I was going through a recent paper “A Novel Hybrid Data-Driven Model for Daily Land Surface Temperature ForecastingUsing Long Short-Term Memory Neural Network Based on Ensemble Empirical ...
1
vote
2answers
1k views

LSTM future steps prediction with shifted y_train relatively to X_train

I'm trying to predict simple one feature time series data with shifted train data. The source looks like this: ...
1
vote
2answers
55 views

How to predict weather? [closed]

I want to know how does one predict day to day weathers. Like what are the factors that must be known to predict day to day weathers using a NN. Few factors I could think of are: Humidity Weather ...
2
votes
2answers
2k views

VAR model ValueError: x already contains a constant

I'm using VAR model for multivariate time series. The structure is that although each variable is a linear function of past lags of itself and past lags of the other variables, one and/or two of the ...
-1
votes
2answers
2k views

forecasting revenue

Does anyone have any recommendations on how I would go about forecasting Microsofts revenue using python + time series or ML (recommended techniques e.g Random-forest). (I have past revenue and share ...
10
votes
1answer
6k views

Can Reinforcement learning be applied for time series forecasting?

Can Reinforcement learning be applied for time series forecasting?
1
vote
1answer
550 views

demand forecast for B2B

I am attempting to create a demand forecasting model in python to predict future sales of a particular category of product, using historical sales data. We are a B2B company, which means that we ...
0
votes
1answer
42 views

How to utilize user survey answers and the actual usage in forecasting power usage using LSTM?

I have the pre-trial survey and post-trial survey conducted of around 5000 users for Smart Meter installation. With this I have power usage reading recorded every 30 min for around one and a half ...
0
votes
1answer
202 views

A timestep's prediction depends on future data

Consider an LSTM model with 100 timesteps, each of which with input and target data. Let f(99) be the function mapping the input data of the 99th timestep and hidden state of the 98th timestep to the ...
1
vote
0answers
26 views

How to decide which forecasting model to use? [closed]

So I have a sales forecasting problem where I have 3 years worth of data about weekly sales of a certain company. There are 3 types of retail stores in that company, Type A, B, and C. There are a ...
1
vote
0answers
213 views

Predict the probability that a customer buy today

My company sells a single product that is a commodity. If you buy it, I can be sure that you will buy it again in the near future from me or from my competitors. The demand is affected by the weather. ...
4
votes
1answer
2k views

Time series forecasting using multiple time series as training data

I am trying to forecast the total attendance (ie. the number of entrances, which is also the number of tickets bought) of a festival just two days after it started. That is, knowing how many people ...
0
votes
3answers
373 views

Forecast vs Prediction: What is the difference?

I use the two terms as follows: A prediction model gets features (which can be a time series) as input and gives a fixed-length output (might be multiple values, but "atomic" in some sense) Examples:...