Analysis of Neural Networks for Predicting Time Series When Assessing Industrial Safety Risks