Differentiation of NaCl, NaOH, and β-Phenylethylamine Using Ultraviolet Spectroscopy and Improved Adaptive Artificial Bee Colony Combined with BP-ANN Algorithm

ACS Omega. 2023 Mar 20;8(13):12418-12429. doi: 10.1021/acsomega.3c00271. eCollection 2023 Apr 4.

Abstract

The aim of this study is to enhance the classification performance of the back-propagation-artificial neural network (BP-ANN) algorithm for NaCl, NaOH, β-phenylethylamine (PEA), and their mixture, as well as to avoid the defects of the artificial bee colony (ABC) algorithm such as prematurity and local optimization. In this paper, a method that combined an improved adaptive artificial bee colony (IAABC) algorithm and BP-ANN algorithm was proposed. This method improved the ABC algorithm by adding an adaptive local search factor and mutation factor; meanwhile, it can enhance the abilities of the global optimization and local search of the ABC algorithm and avoid prematurity. The extracted score vectors of the principal component of the ultraviolet (UV) spectrum were used as the input variable of the BP-ANN algorithm. The IAABC algorithm was used to optimize the weight and threshold of the BP-ANN algorithm, and the iterative algorithm was repeated until the output accuracy was reached. The output variable was the classification results of NaCl, NaOH, PEA, and the mixture. Meanwhile, the proposed IAABC-BP-ANN algorithm was compared with discriminant analysis (DA), sigmaid-support vector machine (SVM), radial basis function-SVM (RBF-SVM), BP-ANN, and ABC-BP-ANN. Then, the above algorithms were used to classify NaCl, NaOH, PEA, and the mixture, respectively. In the experiment, four indicators, accuracy, recall, precision, and F-score, were used as the evaluation criteria. In addition, the regression equation parameters of the mixture for the testing set were obtained by BP-ANN, ABC-BP-ANN, and IAABC-BP-ANN models. All of the results showed that IAABC-BP-ANN exhibits better performance than other algorithms. Therefore, IAABC-BP-ANN combined with UV spectroscopy is a potential identification tool for the detection of NaCl, NaOH, PEA, and the mixture.