“…In addition, we divide the first 70% of the order into the training set, 15% into the validation set, and the last 15% into the test set and then normalize the divided data to [ 0,1]. In order to determine the optimal number of nodes in the hidden layer (succession layer), this paper uses the following pseudocode for calculation: for a � 1:10 hiddennum � fix(sqrt(inputnum + outputnum))+a; net � newelm(inputnum, outputnum,hiddennum,{"tansig", "purelin"}, "traingdx"); net.trainParam.epochs � 10000; net.trainParam.lr � 0.01; net.trainParam.goal � 0.00001; net � train(net,inputn, outputn); an � sim(net,inputn); mse11 � mse(outputn,an); if mse11<1e+05 hiddennum_best � hiddennum; break; end end By substituting the data in Table 3 into the calculation, it can be obtained that the optimal number of nodes in the hidden layer (succession layer) is 3. erefore, when predicting the demand of products, the input layer, hidden layer, successor layer, and output layer of the Elman neural network are, respectively, [4,3,3,4]. Similarly, when predicting the relevant parameter variables of the failure rate of the equipment, we substitute the data in Table 4 into the calculation according to the same process, and we can obtain the input layer, hidden layer, succession layer, and output of the Elman neural network under different equipment failure rate parameters.…”