Cement floor scattering coefficient rapid prediction method, system, equipment and medium
Through the multi-strategy improved particle swarm algorithm combined with the least squares support vector regression machine, the prediction model of the cement floor scattering coefficient is optimized, which solves the problems of over-fitting and slow convergence in the existing technology, and achieves high-precision and real-time prediction. Prediction of electromagnetic scattering coefficient of cement floor.
Patent Information
- Application Number
- CN202410792944.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-10-01
AI Technical Summary
The existing technology has an over-fitting problem when calculating the electromagnetic scattering coefficient of cement floors, resulting in poor model generalization ability, and traditional algorithms such as the Pelican algorithm and the Firefly algorithm have low convergence speeds, making it difficult to meet the real-time and high-precision requirements.
A multi-strategy improved particle swarm algorithm was used combined with the least squares support vector regression machine to optimize the search ability of the particle swarm and the generalization ability of the model by introducing a coefficient of determination and a linearly decreasing inertia weight to establish a rapid prediction model for the cement floor scattering coefficient.
It improves the prediction accuracy and model generalization ability of cement floor scattering coefficients, meets the real-time requirements for large-scale data calculations, and reduces simulation time.
Smart Images

Figure CN118735048A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of electromagnetic scattering characteristics of radar environments, and in particular to a method, system, equipment and medium for quickly predicting scattering coefficients of cement ground surfaces. Background Art
[0002] The study of electromagnetic scattering of typical surfaces is the key to target detection in complex surface environments. With the widespread application of various typical surface electromagnetic scattering characteristics in satellite and airborne SAR images, camouflage and target detection, the rapid and accurate acquisition of the electromagnetic scattering coefficient of typical ground environments has become a research hotspot. The conventional experimental measurement method to obtain the ground electromagnetic scattering coefficient often requires a lot of manpower and material resources, and the amount of experimental measurement results is very limited. Although the approach based on electromagnetic scattering modeling can calculate the ground electromagnetic scattering coefficient under different parameters, the calculation of a large number of samples still takes a long time and is difficult to meet the real-time requirements. In addition, cement ground is a typical surface. Because traditional machine learning prediction methods generally have overfitting problems when predicting electromagnetic scattering coefficients under small sample conditions, the model generalization ability is poor.
[0003] The Chinese patent application with publication number CN117574255A discloses a slope safety factor prediction method based on the Pelican algorithm and support vector machine. The technical solution is to set an algorithm optimization strategy, and use the algorithm optimization strategy to optimize the Pelican algorithm to obtain the Pelican improved algorithm; based on the Pelican improved algorithm, a support vector machine prediction optimization model is constructed, and the support vector machine prediction optimization model is trained and verified through the slope data training set and the slope data verification set; the slope safety factor is predicted using the trained support vector machine prediction optimization model. However, due to the low solution accuracy, insufficient stability, and easy to fall into the local optimal solution of the Pelican algorithm itself, there will be an overfitting problem when the vector machine is further used to construct the prediction model, resulting in poor model generalization ability.
[0004] The Chinese patent application with publication number CN107085372A discloses a sewage energy-saving treatment optimization control method based on an improved firefly algorithm and a least squares support vector machine. The technical solution is to use a least squares support vector machine to model the energy consumption and effluent water quality of a sewage treatment plant, introduce the idea of multi-core, and use an improved firefly algorithm to optimize the model parameters, so that the accuracy of the energy consumption model and the effluent water quality model is greatly improved; the improved firefly algorithm is used to perform online optimization of the controller's dissolved oxygen concentration and nitrate nitrogen concentration set values, so that under the premise of meeting the effluent water quality, the energy consumption of the sewage treatment plant is reduced, thereby achieving the purpose of energy-saving optimization of the sewage treatment process.
[0005] However, the firefly algorithm must require excellent individuals within the sensing range to provide information to it, otherwise the individual will stop searching. This search method is too dependent on excellent individuals, which reduces the convergence speed; moreover, when the individual is very close to the peak, the step size may be greater than the distance, which will cause the individual to oscillate near the peak. That is, the firefly algorithm not only has a low convergence speed, but also has too strong individual dependence during the search, which affects the particle diversity. When further using vector machines to build a prediction model, not only the time complexity and space complexity are increased, but also the prediction accuracy is reduced, and the model generalization ability is poor. Summary of the invention
[0006] In order to overcome the shortcomings of the above-mentioned prior art, the purpose of the present invention is to provide a method, system, device and medium for rapid prediction of cement ground scattering coefficient, and establish a rapid prediction model of cement ground scattering coefficient by combining a multi-strategy improved particle swarm algorithm with a least squares support vector regression machine; first, the cement ground backscattering coefficient under different parameters is calculated, a cement ground backscattering coefficient sample set is constructed, and the data set is preprocessed; then, the multi-strategy improved particle swarm algorithm is used to select the optimal parameters of the least squares support vector regression machine, and the determination coefficient is introduced as the fitness function of the particle swarm algorithm, which improves the model's learning ability for data features; in order to enhance the diversity of particles and improve the generalization ability of the model, a linear decreasing inertia weight is introduced to update the particle's speed and position; at the same time, when the particle hits the search boundary, the particle position and speed are updated by rebounding to increase the particle's activity range. Finally, a rapid prediction model for cement ground scattering coefficient is established, which improves the prediction accuracy and generalization ability of the model compared with the traditional model.
[0007] In order to achieve the above object, the technical solution adopted by the present invention is:
[0008] A method for quickly predicting the scattering coefficient of cement ground comprises the following steps:
[0009] Step 1: Use electromagnetic scattering algorithm to calculate the backscattering coefficient of cement floor under different parameters, construct cement floor backscattering coefficient data set, and perform normalization preprocessing;
[0010] Step 2: Use the multi-strategy improved particle swarm algorithm to select the optimal parameters for the least squares support vector regression machine;
[0011] Step 3: Use the least squares support vector regression machine optimized by the particle swarm algorithm improved by the multi-strategy in step 2 to train the cement floor backscattering coefficient data set preprocessed in step 1, and establish a fast prediction model for cement floor backscattering coefficient;
[0012] Step 4: Take the sample values of the test set as the true values and compare them with the results predicted by the prediction model in step 3 to verify the effectiveness of the cement floor backscattering coefficient prediction model.
[0013] The data set in step 1 includes: frequency f=12 GHz and f=18 GHz, incident angle θ i =In the range of 0°~70°, the incident azimuth Scattering angle θ s =θ i , scattering azimuth Backscattering coefficient of cement floor for polarization modes pol=HH and VV under the conditions of correlation length l=0.003m, root mean square height h=0.0002m and correlation length l=0.009m, root mean square height h=0.0006m;
[0014] The calculation formula of the backscattering coefficient of the cement floor is:
[0015]
[0016] Where i and s represent the incident wave and reflected wave respectively, θ i , are the incident angle and incident azimuth, θ s , are the scattering angle and scattering azimuth, respectively. The subscripts p and q represent horizontal (H) or vertical (V). The particle p1 / k under cement pavement is e =0.064; and are the transmission coefficients from cement medium to air and from air to cement medium, respectively. is the reflection coefficient of the rough cement surface.
[0017] The step 2 specifically includes the following steps:
[0018] Step 2.1: Least squares support vector regression mechanism construction: Given the cement ground scattering coefficient training set (A1, σ1), where A1 = (f, θ i ,l,h,pol), represents the parameter set that affects the scattering coefficient of cement ground. Given the test set sample (A2,σ2), the least squares support vector regression model is constructed as follows:
[0019]
[0020] In the formula, σ LSSVR is the scattering coefficient predicted by the least squares support vector regression model, α i is the Lagrange multiplier, I n is an n×1 matrix, x is the kernel function parameter, v∈R +It is the regularization parameter. The kernel function parameter and the regularization parameter have a great influence on the performance of the least squares support vector regression model.
[0021] Step 2.2: Particle swarm initialization: The kernel function parameter x and the regularization parameter v correspond to the position and velocity of the particle swarm respectively. Initialize the particle swarm and first generate N vectors z1, z2, .... z N , and then substitute each component of the N vectors into the numerical interval of the optimization variable using formulas (1.2) and (1.3):
[0022] x ij =x min +(x max -x min ) ij ,j=1,2,...,n; i=1,2,...,N (1.2)
[0023] v ij =v min +(v max -v min ) ij ,j=1,2,...,n; i=1,2,...,N (1.3)
[0024] Among them, x ij is the particle position, x min is the minimum value of the particle position, x max is the maximum value of the particle position; v ij is the particle velocity, v min is the minimum particle velocity, v max is the maximum value of particle velocity, i represents the i-th particle, and j is the number of particle updates;
[0025] Then calculate the objective function, select the best m solutions from the N groups as initial values, and get the initial group;
[0026] Step 2.3: Calculate the determination coefficient of each particle in the initial population obtained in step 2.2. The calculation formula is as follows:
[0027]
[0028] Among them, σ 2i represents the true observation value of the i-th in the test set, represents the mean of the true observations of the test set, σ LSSVRi represents the i-th predicted value, represents the average of the predicted values;
[0029] Determine whether the determination coefficient meets the termination condition. If yes, proceed directly to step 3. If not, proceed to step 2.4 to update the particle swarm velocity and position.
[0030] Step 2.4: Particle group velocity and position update:
[0031] First, the particle diversity value is calculated, and it is determined whether the particle diversity value is greater than a given threshold. According to the determination result, the particle speed and position update method is selected, and the particle speed and position are updated.
[0032] When the diversity value of a particle is greater than a given threshold, the particle is updated according to the conventional method of the particle swarm. The corresponding particle swarm position and velocity update formula is:
[0033] v i =v i +c1×rand()×(pdest i -x i )+c2×rand()×(gdest i -x i ) (1.5)
[0034] x i =x i +v i (1.6)
[0035] Where i = 1, 2, ..... N, N is the total number of particles in this group, v i is the speed of the particle, rand() is a random number between (0, 1), x i is the current position of the particle, c1, c2 are learning factors, generally c1=c2∈[0,4], pdest i Indicates the optimal solution particle found by a single particle itself during the iteration process, gdest i Represents the optimal solution particle found by all particles in the population during the iteration process;
[0036] When the diversity value of particles is less than a certain threshold, a linear decreasing inertia weight is introduced to adjust the particle speed and position update strategy, thereby improving the diversity of particles and the search ability of the algorithm. Through adaptive adjustment, as the number of iterations increases, the inertia weight is gradually reduced, so that the algorithm has different search capabilities at different stages. The linear decreasing inertia weight formula is:
[0037]
[0038] Among them, ω start is the maximum inertia weight, ω end is the minimum inertia weight, t is the current number of iterations, and T is the maximum number of iterations;
[0039] After introducing the linearly decreasing inertia weight formula, the particle update formula is:
[0040] v i =ωv i +c1×rand()×(pdest i -x i )+c2×rand()×(gdest i -x i ) (1.8)
[0041] x i =ωx i +v i (1.9)
[0042] Then, determine whether the particle flies out of the boundary. In order to prevent the particle from crossing the boundary during the search process, when the particle flies out of the feasible domain, the particle speed and position are changed by speed and position rebound. At this time, the particle update speed is:
[0043]
[0044] Step 2.5: Determine whether to terminate: When the number of iterations reaches the maximum number of iterations or the optimal position searched by the particle swarm so far meets the minimum allowable error of the objective function, terminate the iteration and output the optimal solution; otherwise, return to step 2.2 and continue to calculate the updated particle swarm through formula (1.4) until the maximum number of iterations is reached or the optimal position searched by the particle swarm so far meets the minimum allowable error of the objective function.
[0045] The step 3 specifically includes the following steps:
[0046] Step 3.1: Divide the cement floor backscatter coefficient dataset preprocessed in step 1 into a training set, a validation set, and a test set according to the requirements;
[0047] Step 3.2: Input the training set into the least squares support vector regression machine optimized by the multi-strategy improved particle swarm algorithm in step 2 for training to obtain the parameters of the prediction model;
[0048] Step 3.3: Input the validation set into the trained model for prediction, evaluate the error between the prediction result and the validation set, and if the accuracy of the validation set meets the requirements, use this set of model parameters to establish a rapid prediction model for the scattering coefficient of cement ground. Otherwise, retrain the model parameters and use the validation set for testing.
[0049] The step 4 specifically comprises the following steps:
[0050] Calculate the root mean square error between the true value and the predicted value predicted by the prediction model in step 3. The calculation formula is as follows:
[0051]
[0052] Among them, N is the total number of data, σ 2i is the i-th true value in the test set, σ LSSVRi is the i-th predicted value;
[0053] If the root mean square error between the true value and the predicted value predicted by the prediction model in step 3 is smaller than the root mean square error of the traditional prediction model, the performance improvement of the cement floor backscattering coefficient prediction model proposed by the present invention is effective, otherwise it is invalid.
[0054] A system for a rapid prediction method of cement ground scattering coefficient, comprising:
[0055] The data set construction module uses the electromagnetic scattering algorithm to calculate the backscattering coefficient of the cement floor under different parameters, constructs the cement floor backscattering coefficient data set, and performs normalization preprocessing;
[0056] The optimal parameter selection module uses a multi-strategy improved particle swarm algorithm to select the optimal parameters for the least squares support vector regression machine;
[0057] The prediction model building module uses the least squares support vector regression machine optimized by the multi-strategy improved particle swarm algorithm to train the pre-processed cement floor backscattering coefficient data set to establish a fast prediction model for cement floor scattering coefficient;
[0058] The model verification module verifies the validity of the cement floor backscatter coefficient prediction model by comparing the output in the test sample with the predicted result as the true value.
[0059] A cement floor scattering coefficient rapid prediction device, comprising:
[0060] Memory: used for storing a computer program for implementing the method for quickly predicting the scattering coefficient of cement ground;
[0061] Processor: used to implement the method for quickly predicting the scattering coefficient of cement ground when executing the computer program.
[0062] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of a method for quickly predicting a cement floor scattering coefficient are implemented.
[0063] Compared with the prior art, the beneficial effects of the present invention are:
[0064] 1. The present invention proposes a fast prediction model for cement ground scattering coefficient based on the least squares support vector regression mechanism optimized by a multi-strategy improved particle swarm algorithm, which can solve the problem of time-consuming simulation when calculating a large amount of data in traditional electromagnetic scattering calculations and meet real-time requirements.
[0065] 2. The present invention uses a multi-strategy improved particle swarm algorithm combined with vector machine prediction. When predicting the electromagnetic scattering coefficient under small sample conditions, the model has a good learning ability for data features, which improves the prediction accuracy and generalization ability of the model compared with traditional models.
[0066] In summary, the present invention can solve the time-consuming simulation problem of traditional electromagnetic scattering calculations when calculating large amounts of data, can meet real-time requirements, and improve the prediction accuracy and generalization ability of the model. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] Figure 1 The figure is a flow chart of the method of the present invention.
[0068] Figure 2 This is a comparison chart of the prediction results of the cement floor scattering coefficient rapid prediction method described in the present invention and the traditional method.
[0069] Figure 3 This is a comparison chart of prediction errors between the cement floor scattering coefficient rapid prediction method described in the present invention and the traditional method.
[0070] Figure 4 This is a comparison chart of the prediction results of the cement floor scattering coefficient rapid prediction method described in the present invention and the traditional method.
[0071] Figure 5 This is a comparison chart of prediction errors between the cement floor scattering coefficient rapid prediction method described in the present invention and the traditional method. DETAILED DESCRIPTION
[0072] The present invention will be described in detail below in conjunction with the accompanying drawings.
[0073] A method for quickly predicting the scattering coefficient of cement ground comprises the following steps:
[0074] Step 1: The electromagnetic scattering algorithm is used to calculate the backscattering coefficient of the cement floor under different parameters, and a cement floor backscattering coefficient data set is constructed. The cement floor is equivalent to a half-space surface-volume model, and the electromagnetic scattering coefficient of the cement floor under different parameters is calculated. After obtaining the data set, in order to remove the unit restriction of the data, it is converted into a dimensionless pure value, which is convenient for weighting or comparison of different units or magnitude indicators, and at the same time improves the stability of the subsequent machine learning algorithm, and the data is normalized and preprocessed;
[0075] Step 2: Use the multi-strategy improved particle swarm algorithm to select the optimal parameters for the least squares support vector regression machine. In order to evaluate whether the particles meet the iteration conditions, the determination coefficient is used to evaluate the degree of fit between the predicted value f and the actual value y. In order to improve the diversity of the particle swarm and the search ability of the particle swarm, the particle swarm diversity threshold is used to determine the update method of the particle swarm during the iteration of the particle swarm; when the particle swarm diversity value is greater than the threshold, the conventional method is used to update the particles; when the particle swarm diversity value is less than the threshold, the linearly decreasing inertia weight and the speed and position rebound method are used to adjust the particle update position and speed, which increases the activity range of particles in the search space, thereby enhancing the diversity of the search;
[0076] Step 3: Use the least squares support vector regression machine optimized by the particle swarm algorithm improved by the multi-strategy in step 2 to train the cement floor backscattering coefficient data set preprocessed in step 1, and establish a fast prediction model for cement floor backscattering coefficient;
[0077] Step 4: Take the sample values of the test set as the true values and compare them with the results predicted by the prediction model in step 3 to verify the effectiveness of the cement floor backscattering coefficient prediction model.
[0078] The data set in step 1 includes: frequency f=12 GHz and f=18 GHz, incident angle θ i =In the range of 0°~70°, the incident azimuth Scattering angle θ s =θ i , scattering azimuth Backscattering coefficient of cement floor for polarization modes pol=HH and VV under the conditions of correlation length l=0.003m, root mean square height h=0.0002m and correlation length l=0.009m, root mean square height h=0.0006m;
[0079] The calculation formula of the backscattering coefficient of the cement floor is:
[0080]
[0081] Where i and s represent the incident wave and reflected wave respectively, θ i , are the incident angle and incident azimuth, θ s , are the scattering angle and scattering azimuth, respectively. The subscripts p and q represent horizontal (H) or vertical (V). The particle p1 / k under cement pavement is e =0.064; and are the transmission coefficients from cement medium to air and from air to cement medium, respectively. is the reflection coefficient of the rough cement surface.
[0082] The step 2 specifically includes the following steps:
[0083] Step 2.1: Least squares support vector regression mechanism construction: Given the cement ground scattering coefficient training set (A1, σ1), where A1 = (f, θ i ,l,h,pol), represents the parameter set that affects the scattering coefficient of cement ground. Given the test set sample (A2,σ2), the least squares support vector regression model is constructed as follows:
[0084]
[0085] In the formula, σ LSSVR is the scattering coefficient predicted by the least squares support vector regression model, α i is the Lagrange multiplier, I n is an n×1 matrix, x is the kernel function parameter, v∈R + is the regularization parameter. The kernel function parameter and the regularization parameter have a great influence on the performance of the least squares support vector regression model. The following uses the multi-strategy improved particle swarm algorithm from step 2.2 to step 2.5 to select the optimal parameter process;
[0086] Step 2.2: Particle swarm initialization: The kernel function parameter x and the regularization parameter v correspond to the position and velocity of the particle swarm respectively. Initialize the particle swarm and first generate N vectors z1, z2, .... z N , and then substitute each component of the N vectors into the numerical interval of the optimization variable using formulas (1.2) and (1.3):
[0087] x ij =x min +(x max -x min ) ij ,j=1,2,...,n; i=1,2,...,N (1.2)
[0088] v ij =v min +(v max -v min ) ij ,j=1,2,...,n; i=1,2,...,N (1.3)
[0089] Among them, x ij is the particle position, x min is the minimum value of the particle position, x max is the maximum value of the particle position; v ij is the particle velocity, v min is the minimum particle velocity, vmax is the maximum value of particle velocity, i represents the i-th particle, and j is the number of particle updates;
[0090] Then calculate the objective function, select the best m solutions from the N groups as initial values, and get the initial group;
[0091] Step 2.3: Calculate the determination coefficient of each particle in the initial population obtained in step 2.2. The calculation formula is as follows:
[0092]
[0093] Among them, σ 2i represents the true observation value of the i-th in the test set, represents the mean of the true observations of the test set, σ LSSVRi represents the i-th predicted value, represents the average of the predicted values;
[0094] Determine whether the determination coefficient meets the termination condition. If yes, proceed directly to step 3. If not, proceed to step 2.4 to update the particle swarm velocity and position.
[0095] Step 2.4: Particle group velocity and position update:
[0096] First, the particle diversity value is calculated, and it is determined whether the particle diversity value is greater than a given threshold. According to the determination result, the particle speed and position update method is selected, and the particle speed and position are updated.
[0097] When the diversity value of a particle is greater than a given threshold, the particle is updated according to the conventional method of the particle swarm. The corresponding particle swarm position and velocity update formula is:
[0098] v i =v i +c1×rand()×(pdest i -x i )+c2×rand()×(gdest i -x i ) (1.5)
[0099] x i =x i +v i (1.6)
[0100] Where i = 1, 2, ..... N, N is the total number of particles in this group, v i is the speed of the particle, rand() is a random number between (0, 1), x i is the current position of the particle, c1, c2 are learning factors, generally c1=c2∈[0,4], pdesti Indicates the optimal solution particle found by a single particle itself during the iteration process, gdest i Represents the optimal solution particle found by all particles in the population during the iteration process;
[0101] When the diversity value of particles is less than a certain threshold, a linear decreasing inertia weight is introduced to adjust the particle speed and position update strategy, thereby improving the diversity of particles and the search ability of the algorithm. Through adaptive adjustment, as the number of iterations increases, the inertia weight is gradually reduced, so that the algorithm has different search capabilities at different stages. The linear decreasing inertia weight formula is:
[0102]
[0103] Among them, ω start is the maximum inertia weight, ω end is the minimum inertia weight, t is the current number of iterations, and T is the maximum number of iterations;
[0104] After introducing the linearly decreasing inertia weight formula, the particle update formula is:
[0105] v i =ωv i +c1×rand()×(pdest i -x i )+c2×rand()×(gdest i -x i ) (1.8)
[0106] x i =ωx i +v i (1.9)
[0107] Then, determine whether the particle flies out of the boundary. In order to prevent the particle from crossing the boundary during the search process, when the particle flies out of the feasible domain, the particle speed and position are changed by speed and position rebound. At this time, the particle update speed is:
[0108]
[0109] Step 2.5: Determine whether to terminate: When the number of iterations reaches the maximum number of iterations or the optimal position searched by the particle swarm so far meets the minimum allowable error of the objective function, terminate the iteration and output the optimal solution; otherwise, return to step 2.2 and continue to calculate the updated particle swarm through formula (1.4) until the maximum number of iterations is reached or the optimal position searched by the particle swarm so far meets the minimum allowable error of the objective function.
[0110] The step 3 specifically includes the following steps:
[0111] Step 3.1: Divide the cement floor backscatter coefficient dataset preprocessed in step 1 into a training set, a validation set, and a test set according to the requirements;
[0112] Step 3.2: Input the training set into the least squares support vector regression machine optimized by the multi-strategy improved particle swarm algorithm in step 2 for training to obtain the parameters of the prediction model;
[0113] Step 3.3: Input the validation set into the trained model for prediction, evaluate the error between the prediction result and the validation set, and if the accuracy of the validation set meets the requirements, use this set of model parameters to establish a rapid prediction model for the scattering coefficient of cement ground. Otherwise, retrain the model parameters and use the validation set for testing.
[0114] The step 4 specifically comprises the following steps:
[0115] Calculate the root mean square error between the true value and the predicted value predicted by the prediction model in step 3. The calculation formula is as follows:
[0116]
[0117] Among them, N is the total number of data, σ 2i is the i-th true value in the test set, σ LSSVRi is the i-th predicted value;
[0118] If the root mean square error between the true value and the predicted value predicted by the prediction model in step 3 is smaller than the root mean square error of the traditional prediction model, the performance improvement of the cement floor backscattering coefficient prediction model proposed by the present invention is effective, otherwise it is invalid.
[0119] A system for a rapid prediction method of cement ground scattering coefficient, comprising:
[0120] The data set construction module uses an electromagnetic scattering algorithm to calculate the backscattering coefficient of the cement floor under different parameters, constructs a cement floor backscattering coefficient data set, and performs normalization preprocessing to implement step 1 of a method for quickly predicting the scattering coefficient of the cement floor;
[0121] The optimal parameter selection module uses a multi-strategy improved particle swarm algorithm to select the optimal parameters of the least squares support vector regression machine, which is used to implement step 2 of a method for quickly predicting the scattering coefficient of cement ground;
[0122] The prediction model building module uses the least squares support vector regression machine optimized by the multi-strategy improved particle swarm algorithm to train the pre-processed cement floor backscattering coefficient data set to establish a cement floor scattering coefficient fast prediction model for implementing step 3 of a cement floor scattering coefficient fast prediction method;
[0123] The model verification module verifies the validity of the cement floor backscattering coefficient prediction model by comparing the output in the test sample as the true value with the prediction result, which is used to implement step 4 of a method for quickly predicting the cement floor backscattering coefficient.
[0124] A cement floor scattering coefficient rapid prediction device, comprising:
[0125] Memory: used for storing a computer program for implementing the method for quickly predicting the scattering coefficient of cement ground;
[0126] Processor: used to implement the method for quickly predicting the scattering coefficient of cement ground when executing the computer program.
[0127] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for quickly predicting the scattering coefficient of a cement floor are implemented.
[0128] Simulation experiment
[0129] Figure 2 and Figure 3 The prediction results and errors of the cement floor scattering coefficient rapid prediction method described in the present invention and the traditional method are compared. The prediction data conditions are as follows: correlation length l = 0.003m, root mean square height h = 0.0002m, incident frequency f = 12GHz, HH polarization. Figure 3 It can be seen that the prediction results of the traditional least squares support vector regression machine based on particle swarm optimization (i.e., the traditional PSO-LSSVR in the figure) have large prediction errors at most angles. However, at the same angle, the average error between the prediction results and the true value of the multi-strategy improved particle swarm-least squares support vector regression machine (i.e., the multi-strategy improved PSO-LSSVR in the figure) proposed in the present invention is about 0.1dB. This shows that compared with the traditional model, the cement floor scattering coefficient rapid prediction method described in the present invention has significantly improved prediction accuracy and generalization ability.
[0130] Figure 4 and Figure 5 The prediction results and errors of the cement floor scattering coefficient rapid prediction method described in the present invention and the traditional method are compared. The prediction data conditions are as follows: correlation length l = 0.009m, root mean square height h = 0.0006m, incident frequency f = 18GHz, HH polarization. Figure 5It can be seen that the prediction results of the traditional least squares support vector regression machine based on particle swarm optimization (i.e., the traditional PSO-LSSVR in the figure) have large prediction errors at most angles. However, at the same angle, the average error between the prediction results and the true value of the multi-strategy improved particle swarm-least squares support vector regression machine (i.e., the multi-strategy improved PSO-LSSVR in the figure) proposed in the present invention is about 0.2dB. This shows that compared with the traditional model, the cement floor scattering coefficient rapid prediction method described in the present invention has significantly improved prediction accuracy and generalization ability.
Claims
1. A fast prediction method for cement floor scattering coefficient, It is characterized in that The following steps are involved: Step 1: Use electromagnetic scattering algorithm to calculate the backscattering coefficient of cement floor under different parameters, construct cement floor backscattering coefficient data set, and perform normalization preprocessing; Step 2: Use the multi-strategy improved particle swarm algorithm to select the optimal parameters for the least squares support vector regression machine; Step 3: Use the least squares support vector regression machine optimized by the particle swarm algorithm improved by the multi-strategy in step 2 to train the cement floor backscattering coefficient data set preprocessed in step 1, and establish a fast prediction model for cement floor backscattering coefficient; Step 4: Take the sample values of the test set as the true values and compare them with the results predicted by the prediction model in step 3 to verify the effectiveness of the cement floor backscattering coefficient prediction model.
2. A method for rapid prediction of cement ground scattering coefficient according to claim 1, It is characterized in that The data set in step 1 includes: frequency f=12 GHz and f=18 GHz, incident angle θ i =In the range of 0°~70°, the incident azimuth Scattering angle θ s =θ i , scattering azimuth Backscattering coefficient of cement floor for polarization modes pol=HH and VV under the conditions of correlation length l=0.003m, root mean square height h=0.0002m and correlation length l=0.009m, root mean square height h=0.0006m; The calculation formula of the backscattering coefficient of the cement floor is: Where i and s represent the incident wave and reflected wave respectively, θ i , are the incident angle and incident azimuth, θ s , are the scattering angle and scattering azimuth, respectively. The subscripts p and q represent horizontal (H) or vertical (V) polarization. 1 / k e =0.064; and are the transmission coefficients from cement medium to air and from air to cement medium, R 01 is the reflection coefficient of the rough cement surface.
3. A method for rapid prediction of cement ground scattering coefficient according to claim 1, It is characterized in that The step 2 specifically includes the following steps: Step 2.1: Least squares support vector regression mechanism construction: Given the cement ground scattering coefficient training set (A 1 ,σ 1 ), where A 1 =(f,θ i ,l,h,pol), represents the parameter set that affects the scattering coefficient of cement ground. Given a test set sample (A 2 ,σ 2 ), the least squares support vector regression model is constructed as follows: In the formula, σ LSSVR is the scattering coefficient predicted by the least squares support vector regression model, α i is the Lagrange multiplier, I n is an n×1 matrix, x is the kernel function parameter, v∈R + It is the regularization parameter. The kernel function parameter and the regularization parameter have a great influence on the performance of the least squares support vector regression model. Step 2.2: Particle swarm initialization: The kernel function parameter x and the regularization parameter v correspond to the position and velocity of the particle swarm respectively. Initialize the particle swarm and first generate N vectors z 1 ,z 2 ,....z N , and then substitute each component of the N vectors into the numerical interval of the optimization variable using formulas (1.2) and (1.3): x ij =x min +(x max -x min )z ij ,j=1,2,...,n;i=1,2,...,N(1.2) v ij =v min +(v max -v min )z ij ,j=1,2,...,n;i=1,2,...,N(1.3) Among them, x ij is the particle position, x min is the minimum value of the particle position, x max is the maximum value of the particle position; v ij is the particle velocity, v min is the minimum particle velocity, v max is the maximum value of particle velocity, i represents the i-th particle, and j is the number of particle updates; Then calculate the objective function, select the best m solutions from the N groups as initial values, and get the initial group; Step 2.3: Calculate the determination coefficient of each particle in the initial population obtained in step 2.
2. The calculation formula is as follows: Among them, σ 2i represents the true observation value of the i-th in the test set, represents the mean of the true observations of the test set, σ LSSVRi represents the i-th predicted value, represents the average of the predicted values; Determine whether the determination coefficient meets the termination condition. If yes, proceed directly to step 3. If not, proceed to step 2.4 to update the particle swarm velocity and position. Step 2.4: Particle group velocity and position update: First, the particle diversity value is calculated, and it is determined whether the particle diversity value is greater than a given threshold. According to the determination result, the updating method of the particle speed and position is selected, and the particle speed and position are updated. When the diversity value of a particle is greater than a given threshold, the particle is updated according to the conventional method of the particle swarm. The corresponding particle swarm position and velocity update formula is: v i =v i +c 1 ×rand()×(pdest i -x i )+c 2 ×rand()×(gdest i -x i )(1.5) x i =x i +v i (1.6) Where i = 1, 2, ..... N, N is the total number of particles in this group, v i is the speed of the particle, rand() is a random number between (0, 1), x i is the current position of the particle, c 1 ,c 2 is the learning factor, usually c 1 =c 2 ∈[0,4], pdest i Indicates the optimal solution particle found by a single particle itself during the iteration process, gdest i Represents the optimal solution particle found by all particles in the population during the iteration process; When the diversity value of particles is less than a certain threshold, a linear decreasing inertia weight is introduced to adjust the particle speed and position update strategy, thereby improving the diversity of particles and the search ability of the algorithm. Through adaptive adjustment, as the number of iterations increases, the inertia weight is gradually reduced, so that the algorithm has different search capabilities at different stages. The linear decreasing inertia weight formula is: Among them, ω start is the maximum inertia weight, ω end is the minimum inertia weight, t is the current number of iterations, and T is the maximum number of iterations; After introducing the linearly decreasing inertia weight formula, the particle update formula is: v i =ωv i +c 1 ×rand()×(pdest i -x i )+c 2 ×rand()×(gdest i -x i )(1.8) x i =ωx i +v i (1.9) Then, determine whether the particle flies out of the boundary. In order to prevent the particle from crossing the boundary during the search process, when the particle flies out of the feasible domain, the particle speed and position are changed by speed and position rebound. At this time, the particle update speed is: Step 2.5: Determine whether to terminate: When the number of iterations reaches the maximum number of iterations or the optimal position searched by the particle swarm so far meets the minimum allowable error of the objective function, terminate the iteration and output the optimal solution; otherwise, return to step 2.2 and continue to calculate the updated particle swarm through formula (1.4) until the maximum number of iterations is reached or the optimal position searched by the particle swarm so far meets the minimum allowable error of the objective function.
4. A method for rapid prediction of cement ground scattering coefficient according to claim 1, It is characterized in that The step 3 specifically includes the following steps: Step 3.1: Divide the cement floor backscatter coefficient dataset preprocessed in step 1 into a training set, a validation set, and a test set according to the requirements; Step 3.2: Input the training set into the least squares support vector regression machine optimized by the multi-strategy improved particle swarm algorithm in step 2 for training to obtain the parameters of the prediction model; Step 3.3: Input the validation set into the trained model for prediction, evaluate the error between the prediction result and the validation set, and if the accuracy of the validation set meets the requirements, use this set of model parameters to establish a rapid prediction model for the scattering coefficient of cement ground. Otherwise, retrain the model parameters and use the validation set for testing.
5. A method for rapid prediction of cement ground scattering coefficient according to claim 1, It is characterized in that The step 4 specifically comprises the following steps: Calculate the root mean square error between the true value and the predicted value predicted by the prediction model in step 3. The calculation formula is as follows: Among them, N is the total number of data, σ 2i is the i-th true value in the test set, σ LSSVRi is the i-th predicted value; If the root mean square error between the true value and the predicted value predicted by the prediction model in step 3 is smaller than the root mean square error of the traditional prediction model, the performance improvement of the cement floor backscattering coefficient prediction model proposed by the present invention is effective, otherwise it is invalid.
6. A system based on the method for rapid prediction of cement ground scattering coefficient according to any one of claims 1 to 5, It is characterized in that include: The data set construction module uses the electromagnetic scattering algorithm to calculate the backscattering coefficient of the cement floor under different parameters, constructs the cement floor backscattering coefficient data set, and performs normalization preprocessing; The optimal parameter selection module uses a multi-strategy improved particle swarm algorithm to select the optimal parameters for the least squares support vector regression machine; The prediction model building module uses the least squares support vector regression machine optimized by the multi-strategy improved particle swarm algorithm to train the pre-processed cement floor backscattering coefficient data set to establish a rapid prediction model for the cement floor scattering coefficient. The model verification module verifies the validity of the cement floor backscatter coefficient prediction model by comparing the output in the test sample with the predicted result as the true value.
7. A rapid prediction device for cement floor scattering coefficient, It is characterized in that include: Memory: used to store a computer program for implementing a method for quickly predicting a cement floor scattering coefficient as claimed in any one of claims 1 to 5; Processor: used to implement a method for quickly predicting cement floor scattering coefficient as described in any one of claims 1 to 5 when executing the computer program.
8. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for quickly predicting the scattering coefficient of a cement floor are implemented.
Citation Information
Patent Citations
SD-LSSVR short-time traffic flow prediction method based on chaotic quantum particle swarm optimization
CN111027662A
Marine environment parameter inversion model construction method and device
CN115906667A
PSO-SVR-based composite paint layer laser cleaning thickness prediction method
CN116644525A
Sea surface scattering coefficient rapid prediction method, system, equipment and medium
CN117216954A
Method for optimizing support vector machine on basis of particle swarm optimization algorithm
WO2018072351A1
