Pre-Investment Impacts

Introduction

The revenue data as predited by our model depends on several factors. Some of them have multiplicative influence such as distribution, temperature, pricing etc. while impacts from investments are additive in nature.

The investments data available to us is post 2020 while rest of the dataset we have is from 2017. If the model is allowed to attribute revenue from 2017 to all these factors, then these factors are biased to learn higher weights pre 2021 and then try to overpredict the revenue from 2021 onwards because of the presence of investments. Hence we might get misleading revenue attributions and hence misleading recommendations because of the model being unstable.

In order to mitigate this phenomenon, we need a basic substitute for investment impacts pre 2021 which can not only help in balancing out the weights of other features and making the model stable, but can also help the model recover from sudden shocks in predictions from 2021 by uncovering a general revenue trend.

How Pre-Investment Layer Works?

Pseudo Code

\[ \text{raw\_impacts} = \text{slope} \cdot \text{week\_num} + \text{intercept} \]
\[ \text{positive\_impact} = \log\left(1 + e^{\text{raw\_impacts}}\right) \]
\[ \text{impact} = \begin{cases} \text{positive\_impact}, & \text{if pre-investment period} \\ 1, & \text{otherwise} \end{cases} \]

Impact Visualization and Explanation

Pre-Investment Impact As seen above, the presence of pre-investment layer allows the model to accurately capture the sales trend pre 2021 and then the model predictions progress smoothly from there post 2020 for Mich Ulta in California preventing the model from overpredicting the sales post 2020.