Train Phase
The training phase uses the SARIMAX model twice. The first time, SARIMAX considers only the variables to be detected, which are contained in an input data set. The second time, it also takes into account the external variables present in the same data set.
This double step is to understand the contribution of external variables on the training results. To do that, a comparison is made between the two results.