Modeling Revenue Data – Part IV: ARIMA

ARIMA is known for its effectiveness in modeling time series data. In this section, we will try to fit the data using an ARIMA model. Theoretically, the parameters, (p, q), of an ARIMA(p, d, q) is selected using partial autocorrelation and autocorrelation coefficients. The parameter of d implies the number of times we take differencesContinue reading “Modeling Revenue Data – Part IV: ARIMA”

Modeling Revenue Data – Part III: LSTM

In this part, let’s build an LSTM model for the sales revenue data. Long short temporary model is developed on the basis of Recurrent Neural Network to improve its performance in NLP by retaining some information from “long” past data. Due to its capability of processing sequence data, LSTM can also be used to modelContinue reading “Modeling Revenue Data – Part III: LSTM”

Modeling Revenue Data – Part II: Linear Regression Approach

Using the same data set as in Part I, let’s explore some methods to apply linear regression for time-series data. Our data looks like this: To model the data using linear regression, we need to convert date and time into features and scale the revenue into the appropriate range. And now our dataset looks likeContinue reading “Modeling Revenue Data – Part II: Linear Regression Approach”

Modeling Revenue Data – Part I: EDA

Exploration of the dataset This article shows the modeling process for a sales/revenue dataset. The dataset contains 2,935,846 records of sales data from Jan 01, 2013 to Oct 31, 2015 with 60 vendors and 22170 items. Brief description of the dataset is shown below. To make this dataset easier to work with, I will re-formatContinue reading “Modeling Revenue Data – Part I: EDA”