Academia.edu no longer supports Internet Explorer.
To browse Academia.edu and the wider internet faster and more securely, please take a few seconds to upgrade your browser.
Figure 9 Training the neural network Then, the model was fitted to the training data using the “fit” function, which took as input the data in its original format, “df raw_daily”, and specified the frequency of the data, which in this case was “H” for indicate that the data were in hourly intervals. During training, the model adjusted the weights of the neural connections to minimize the specified loss function (in this case, the Huber function), and the process was repeated for 40 epochs. The training process also automatically imputed missing values and normalized the data as specified in the model parameters. At the end of the training, several model performance metrics were needed, such as the mean absolute error and the loss of the model in the training set. These metrics were used to assess the quality of model performance and to compare different model configurations in case parameter changes have been made. For this, in (1) was used;
Discover breakthrough research and expand your academic network
Join for free