Welcome to Francis Academic Press

Academic Journal of Mathematical Sciences, 2023, 4(4); doi: 10.25236/AJMS.2023.040404.

Application of BP neural network model based on whale algorithm optimization in text word separation


Hangyu Zeng

Corresponding Author:
Hangyu Zeng

School of Statistics and Mathematics, Central University of Finance and Economics, Beijing, 102206, China


Wordle is a New York Times crossword puzzle that has become very popular recently. In this paper, Wordle is a New York Times crossword puzzle that has become very popular recently. In this paper, a SIR infectious disease model was developed to explain the reasons for the variation in the number of daily reported results and to predict the number of future reports. In this paper, a multi-output BP neural network model optimized by a whale optimization algorithm is built to predict the proportion of reports of the term EERIE on 1 March 2023 as (1.67, 3.47, 18.75, 39.20, 11.67, 13.63, 11.61). The uncertainty in the model arises mainly from the inadequate sample size and possible differences between the reported and true values. For the confidence in the predictions, the mean absolute error (MAPE) was used to measure the confidence in the predictions and the model had a confidence in the predictions of approximately 0.812.In this paper, the number of letter repetitions and the usage rate of the letters that make up a word are considered to be the two most important dimensions that affect the difficulty of a word, so this paper uses the K-Means algorithm to classify words according to these two dimensions and obtain five categories. Then, the data with labels were substituted into the decision tree model to obtain the specific classification criteria, and it was found that the main factor affecting the classification results was the rate of letter usage of the constituent words, with an error rate of 3.28% for 10-fold cross-validation. Finally, we used this model to classify the difficulty of the word EERIE, and the result was that EERIE belonged to the most difficult category of words. In this paper, we found four characteristics of the dataset: 1. the proportion of players choosing high difficulty gradually increases; 2. the difficulty of the game is stable over time; 3. the common use rate of words is stable; and 4. the proportion of unused words leads to a larger proportion of failures. To sum up, this paper is based on the requirements given in the title, comprehensive analysis of Wordle software and the relevant content of the New York Times data report, model construction is rigorous and accurate, with strong rational and practical significance.


SIR Infectious Disease Model, Whale Optimization Algorithm, BP neural network, K-means Clus- Tering Algorithm

Cite This Paper

Hangyu Zeng. Application of BP neural network model based on whale algorithm optimization in text word separation. Academic Journal of Mathematical Sciences (2023) Vol. 4, Issue 4: 22-26. https://doi.org/10.25236/AJMS.2023.040404.


[1] Pang C, Ma WG, Li Cha-Wei, Jiang Y, Liao Cheng-Wang, Chen GQ. Study of microseismic source localization using a novel population intelligence optimization algorithm [J]. Geodesy and Geodynamics, 2023, 43(07):708-714. 

[2] Zhang P, Wu Hsien-Teng, Lu Shengxin, Jia Chao, Wu Weiqiang. Optimal design of wind turbine grounding network based on whale algorithm [J]. High Voltage Electrical, 2023, 59(06):128-136+153. 

[3] Zhai Huimin, Zhang Xinshi, Cheng Qixian, Wang Maorong, Ma Xueyao. Research on ecological evaluation of water resources in urban areas based on principal component analysis and BP neural network [J]. Journal of Hunan Institute of Technology (Natural Science Edition), 2023, 36(02):38-45. 

[4] Xiong Haojie, Wei Yi. Research on multibeam sonar elevation data prediction based on improved CNN-BP [J]. Computer Science, 2023, 50(S1):575-578. 

[5] Raziani S , Ahmadian S , Jalali S M J ,et al.An Efficient Hybrid Model Based on Modified Whale Optimization Algorithm and Multilayer Perceptron Neural Network for Medical Classification Problems[J].Journal of Bionic Engineering, 2022, 19(5):1504-1521.DOI:10.1007/s42235-022-00216-x.

[6] Kang Z , Qu Z .Application of BP neural network optimized by genetic simulated annealing algorithm to prediction of air quality index in Lanzhou[C]//2017 2nd IEEE International Conference on Computational Intelligence and Applications (ICCIA).IEEE, 2017.DOI:10.1109/CIAPP.2017.8167199.

[7] Li Yuntao. Short-term PV power prediction by LSTM model based on Bootstrap algorithm and whale optimization algorithm [J]. Information Technology and Informatization, 2023, (05):188-191. 

[8] Shi M, Jing X. Improved whale optimization algorithm for inversion of leaf biochemical parameters [J]. Geospatial Information, 2023, 21(05):1-4. 

[9] Lu ZW, Xie YY. Multi-objective engineering optimization of motor structures by Pareto whale algorithm [J]. Agricultural Equipment and Vehicle Engineering, 2023, 61(05):146-149. 

[10] Xiao P, Wu KQ, Ding MIF. A multi-inverse composite whale optimization algorithm based on circular search mechanism [J]. Microelectronics and Computers, 2023, (05):1-11.