Optimizing activation functions and hidden neurons in Backpropagation neural networks for real-time NOx concentration prediction
Chang Duan,Gongping Mao
DOI: https://doi.org/10.1080/15567036.2024.2305689
2024-01-24
Energy Sources Part A Recovery Utilization and Environmental Effects
Abstract:The Backpropagation (BP) neural network model is optimized in this research to predict NOx concentrations under dynamic conditions. Various activation functions (elliotsig, logsig, poslin, radbas, satlin, satlins, and tansig) were explored, and hidden neuron counts were adjusted to determine the optimal configuration for achieving maximal prediction accuracy. Out of the 8791 dataset entries, 7033 were used for training, and 1758 were used for testing. The model was evaluated using four primary metrics: Mean Absolute Error (MAE), Root Mean Square Error (RMSE), the coefficient of determination (R 2 ), and Model Efficiency (ME). It was observed that activation functions had a significant impact on the computational time of the BP model. Satlins, poslin, and satlin functions operated swiftly, with a running time of approximately 11 ms for an ANN model with 100 neurons. Due to the computational complexity of logsig, tansig, and radbas, their computation time was more than three times longer compared to the previous functions. Overall, this research illustrates the effectiveness of the BP neural network in predicting NOx concentrations when optimized with the appropriate architecture. It highlights the elliotsig function for its combination of accuracy and efficiency. During a 10 ms operating time of the microcontroller, the combination of elliotsig function with 68 hidden neurons resulted in the highest R 2 and ME values, achieving 0.9934 and 0.9861, respectively. Furthermore, this configuration demonstrated exceptional accuracy, with the lowest RMSE and MAE values recorded at 45.4654 and 23.2959, respectively.
energy & fuels,engineering, chemical