Training method and device of radiation intensity detection model, equipment and storage medium

By combining the random forest model with multi-dimensional data analysis, the importance of characteristic dimensions of base station characteristic samples is determined and the model parameters are optimized. This solves the problem of insufficient accuracy in predicting base station electromagnetic radiation intensity in the existing technology, and achieves more efficient data processing and better Accurate prediction results.

CN118764397APending Publication Date: 2024-10-11SHENZHEN POWER SUPPLY BUREAU
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202410979994.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

When predicting the electromagnetic radiation intensity of base stations, the existing technology cannot make full use of the potential correlation between data, which affects the accuracy of prediction, especially when processing complex and high-dimensional base station data.

Method used

The random forest model is combined with multi-dimensional data analysis to obtain base station feature samples, determine the importance of feature dimensions, select target dimensions for targeted training, optimize the initial random forest model parameters, and obtain a radiation intensity detection model.

Benefits of technology

It improves the accuracy and generalization ability of electromagnetic radiation intensity prediction, can effectively process and analyze large-scale, multi-dimensional base station feature samples, and reduces model overfitting. It is suitable for base station feature samples of different types and sizes, and has a wide range of application potential.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118764397A_ABST
    Figure CN118764397A_ABST
Patent Text Reader

Abstract

The invention relates to a radiation intensity detection model training method and device, computer equipment, a computer readable storage medium and a computer program product. The method comprises the following steps: acquiring an initial random forest model and base station feature samples of multiple dimensions; determining the feature dimension importance of the base station feature sample in each dimension; selecting a target base station feature sample under a target dimension according to the feature dimension importance; and according to the target base station feature sample, optimizing parameters of the initial random forest model to obtain a radiation intensity detection model. The radiation intensity detection model is trained by adopting the method, and the electromagnetic radiation intensity of 4G, 5G and other base stations can be accurately predicted through the radiation intensity detection model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communications, and in particular to a training method, apparatus, computer equipment, computer-readable storage medium, and computer program product for a radiation intensity detection model. Background Art

[0002] With the rapid development of wireless communication technology, accurate prediction of electromagnetic radiation intensity of base stations has become increasingly important. This is not only related to public health and environmental protection, but also involves the optimization of wireless communication network performance.

[0003] At present, the prediction of electromagnetic radiation intensity mostly relies on traditional mathematical models or basic machine learning algorithms. When analyzing and processing large amounts of multidimensional data from base stations, these methods often fail to fully utilize the potential correlations between data, thus affecting the accuracy of the prediction. Summary of the invention

[0004] The embodiments of the present application provide a method, device, electronic device, and computer-readable storage medium for training a radiation intensity detection model, which can obtain a radiation intensity detection model to accurately and reliably predict the electromagnetic radiation intensity of a base station through the radiation intensity detection model.

[0005] In a first aspect, the present application provides a method for training a radiation intensity detection model, the method comprising:

[0006] Obtain the initial random forest model and base station feature samples in multiple dimensions;

[0007] Determining the feature dimension importance of the base station feature sample in each dimension;

[0008] Selecting a target base station feature sample under a target dimension according to the feature dimension importance;

[0009] According to the target base station feature samples, the parameters of the initial random forest model are optimized to obtain a radiation intensity detection model.

[0010] In one of the embodiments, determining the feature dimension importance of the base station feature sample in each dimension includes:

[0011] Determine the information gain change value of the base station feature sample in each dimension;

[0012] According to the information gain change value, the feature dimension importance of each dimension is determined.

[0013] In one embodiment, the initial random forest model includes multiple decision trees, and each dimension includes a to-be-screened dimension and a reference dimension;

[0014] The determining of the information gain change value of the base station feature sample in each dimension includes:

[0015] Predicting the base station feature samples of each dimension through each decision tree to obtain a comprehensive dimension prediction result of each decision tree;

[0016] Predicting the base station feature samples of the reference dimension through each decision tree to obtain a reference dimension prediction result of each decision tree;

[0017] Compare the information gain of the comprehensive dimension prediction result with the information gain of the reference dimension prediction result to obtain the information gain change value of each decision tree in the dimension to be screened;

[0018] Determining the importance of feature dimensions of each dimension according to the information gain change value includes:

[0019] The importance of the feature dimension of the dimension to be screened is determined according to the information gain change value of each decision tree in the dimension to be screened.

[0020] In one embodiment, determining the importance of the feature dimension of the dimension to be screened according to the information gain change value of each decision tree in the dimension to be screened includes:

[0021] Accumulating the information gain change value of each decision tree in the dimension to be screened to obtain the accumulated information gain change value of the dimension to be screened;

[0022] According to the number of decision trees, the cumulative information gain change value is averaged to obtain the feature dimension importance of the dimension to be screened.

[0023] In one embodiment, optimizing the parameters of the initial random forest model according to the target base station feature sample to obtain a radiation intensity detection model includes:

[0024] Dividing the target base station feature samples into multiple subsets;

[0025] In each training process of the initial random forest model, different subsets are used as validation sets, and subsets of the multiple subsets except the validation set are used as training sets, the parameters of the initial random forest model are optimized through the training sets, and the optimized random forest model obtained after each training is evaluated through the validation set;

[0026] The optimized random forest model that meets the training end conditions is used as the radiation intensity detection model.

[0027] In one embodiment, the method further comprises:

[0028] The radiation intensity detection model is used to predict the electromagnetic radiation intensity of the base station according to the base station characteristics under the target dimension.

[0029] In a second aspect, the present application also provides a training device for a radiation intensity detection model, the device comprising:

[0030] A sample acquisition module is used to obtain the initial random forest model and base station feature samples in multiple dimensions;

[0031] An importance evaluation module, used to determine the importance of the feature dimensions of the base station feature samples in each dimension;

[0032] A feature screening module, used to select a target base station feature sample under a target dimension according to the importance of the feature dimension;

[0033] The model optimization module is used to optimize the parameters of the initial random forest model according to the target base station feature sample to obtain a radiation intensity detection model.

[0034] In a third aspect, the present application further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the training steps of the radiation intensity detection model in any of the above embodiments are implemented.

[0035] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of training the radiation intensity detection model in any of the above embodiments.

[0036] In a fifth aspect, the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of training the radiation intensity detection model in any of the above embodiments are implemented.

[0037] The training method, device, computer equipment, computer-readable storage medium and computer program product of the above-mentioned radiation intensity detection model obtain the initial random forest model and base station feature samples of multiple dimensions, because the decision tree model usually considers the influence of a single feature on the target variable when splitting a node, and the initial random forest model can more comprehensively capture the complex relationship between base station feature samples by integrating multiple decision trees. On this basis, the importance of the feature dimensions of the base station feature samples in each dimension is determined, so that the target base station feature samples under the target dimension are selected according to the importance of the feature dimensions, and targeted training is carried out in the target dimension, which has a greater contribution, to improve the efficiency of model training and prediction accuracy; thus, according to the target base station feature samples, the parameters of the initial random forest model are optimized to obtain the radiation intensity detection model. Therefore, the potential association between data is mined by combining the random forest model and multidimensional data analysis to more accurately predict the electromagnetic radiation intensity; and the importance of the feature dimensions can be used to more effectively process and analyze large-scale, multi-dimensional base station feature samples, and the ability to process complex data is strong; and in the scenario of predicting the electromagnetic radiation intensity, the use of the random forest model is not prone to model overfitting, which improves the generalization ability of the model prediction. In addition, it is applicable to base station feature samples of different types and sizes, has broad application potential, and ensures strong adaptability. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0039] FIG1 is a diagram of an application environment of a method for training a radiation intensity detection model in one embodiment;

[0040] Figure 2 is a flow chart of a method for training a radiation intensity detection model in one embodiment;

[0041] Figure 3 A schematic diagram of a process for determining the importance of a feature dimension in one embodiment;

[0042] Figure 4 A schematic diagram of a specific process of determining the importance of a feature dimension in one embodiment;

[0043] Figure 5 A schematic diagram of a process for determining the importance of characteristic dimensions of dimensions to be screened in one embodiment;

[0044] Figure 6A schematic diagram of a process for optimizing parameters of an initial random forest model in one embodiment;

[0045] Figure 7 It is a flowchart of a training method applied to a 5G base station in one embodiment;

[0046] Figure 8 A schematic diagram of the distribution of the electromagnetic field strength prediction value of a 5G base station in one embodiment;

[0047] Fig. 9 A schematic diagram showing the distribution of actual values ​​of the electromagnetic field strength of a 5G base station in one embodiment;

[0048] Fig.10 is a structural block diagram of a training device for a radiation intensity detection model in one embodiment;

[0049] Fig.11 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0050] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0051] The training method of the radiation intensity detection model provided in the embodiment of the present application can be applied to the application environment shown in FIG1. ​​The terminal 102 communicates with the server 104 through a network. The data storage system can store data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers.

[0052] Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. Head-mounted devices can be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. The server 104 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services. This solution can be executed through the terminal 102, or through the server 104, or through the interactive process between the terminal 102 and the server 104.

[0053] In an exemplary embodiment, Figure 2As shown, a method for training a radiation intensity detection model is provided, and the method is applied to the server 104 in FIG. 1 as an example for description, including the following steps 202 to 208. Among them:

[0054] Step 202: Obtain an initial random forest model and base station feature samples in multiple dimensions.

[0055] The initial random forest model is a random forest model that needs to be trained. Optionally, the initial random forest model can be a random forest model that has not been trained, or a random forest model that is in the training process.

[0056] The random forest model is a neural network model composed of multiple decision trees. The output of the random forest model is a comprehensive consideration of the output of the decision trees it contains. The output of the random forest model is expressed as follows:

[0057] = ;

[0058] in, Indicates the base station feature sample The predicted output is is the total number of decision trees in the random forest model, and It is The prediction results of a decision tree.

[0059] Base station feature samples are sample features related to the wireless communication function of the base station. The wireless communication function of the base station means that the base station can connect the electronic device to the base station network through the wireless signal with the electronic device to transmit the signal between the electronic device and the base station network, thereby realizing wireless communication.

[0060] Multiple dimensions are at least two potential dimensions obtained by classifying base station feature samples. Since the data of base station feature samples is relatively complex, the dimensions involved include but are not limited to the geographical location, environmental conditions, network parameters and other dimensions of the base station. Base station feature samples with multiple dimensions can be classified by feature vectors. Represents, where M is a positive integer greater than 2, and x 1, x 2、 x m Base station feature samples belonging to different dimensions.

[0061] The random forest model can more comprehensively capture the complex relationships between base station feature samples, thereby revealing potential associations. Potential associations between data refer to the possible mutual influence or dependency between data features. In this case, the ability of the random forest model to effectively integrate the results of multiple decision trees and multidimensional data analysis ensures the accuracy of the model's predictions. This is because this method can exhaustively analyze data of different dimensions, such as time, location, equipment configuration, etc., and how these factors interact to affect the intensity of electromagnetic radiation. Through this comprehensive analysis, the model can more accurately predict the intensity of electromagnetic radiation under specific conditions.

[0062] Moreover, in the scenario of predicting the intensity of electromagnetic radiation, the use of the random forest model is less likely to cause model overfitting, which improves the generalization ability of the model prediction and thus reduces the risk of overfitting. The reason may be that: in view of the relatively high complexity of base station feature samples, since random forest introduces randomness and diversity in various ways, its generalization ability is usually better than that of a single decision tree, which means that it performs better on unseen data and the overfitting phenomenon is alleviated. In addition, in the case of random forests, the complexity of a single tree can be controlled by limiting the maximum depth of the decision tree or the minimum number of samples of the node.

[0063] In addition, the random forest model is a supervised learning model, which can be applied to base station feature samples of different types and sizes, has broad application potential, and ensures strong adaptability.

[0064] Step 204, determining the feature dimension importance of the base station feature samples in each dimension.

[0065] The feature dimension importance is the quantitative data of the importance of the base station feature samples in each dimension. The feature dimension importance is used to reduce the impurity of the base station feature samples in each dimension in the decision tree. The feature dimension importance can be represented by the change value of information gain or the change value of Gini impurity.

[0066] Optionally, the importance quantification method corresponding to the initial random forest can be used to perform importance quantification processing on the base station feature samples of each dimension to obtain the feature dimension importance of each dimension.

[0067] Optionally, importance quantification processing may be performed on base station feature samples of each dimension respectively using a preset importance quantification method to obtain the feature dimension importance of each dimension.

[0068] Step 206: Select target base station feature samples under the target dimension according to the feature dimension importance.

[0069] The target dimension is to select at least one dimension from each dimension. The feature dimension of the target dimension is more important than the feature dimensions of other dimensions. Therefore, selecting the target dimension helps to focus the training data of the initial random forest model on the target dimension to ensure the training speed.

[0070] The target base station feature sample is at least one feature belonging to the target dimension. Taking the case where the target dimension is a network parameter as an example, the target base station feature sample includes but is not limited to parameter samples such as the download speed, upload speed, and delay time of the base station.

[0071] Optionally, the dimension whose feature dimension importance is greater than the importance threshold can be used as the target dimension, and the feature dimension importance can be sorted from large to small, and the dimension with the importance ratio can be selected as the target dimension.

[0072] By selecting the target dimension based on the importance of feature dimensions, the number of dimensions can be effectively reduced to more effectively process and analyze large-scale, multi-dimensional data of base stations and improve the ability to process complex data.

[0073] Step 208, optimizing the parameters of the initial random forest model according to the target base station feature samples to obtain a radiation intensity detection model.

[0074] The parameters of the initial random forest model are used to adjust the model prediction method. The parameters include but are not limited to the number of decision trees, the maximum depth of the decision tree, the minimum sample split, the minimum sample leaf node, and other parameters.

[0075] The radiation intensity detection model is a trained random forest model. Since the radiation intensity detection model is optimized based on the target base station feature samples and the initial random forest model, the radiation intensity detection model can analyze and mine the potential correlation between data to more accurately predict the electromagnetic radiation intensity. It can also more effectively process and analyze large-scale, multi-dimensional base station feature samples through the importance of feature dimensions, and is not prone to model overfitting. It is more suitable for base station feature samples of different types and sizes, has a wide range of application potential, and ensures strong adaptability.

[0076] Optionally, if the initial random forest model belongs to a random forest model before training, the parameters of the initial random forest model belong to the original random forest model before training; if the initial random forest model belongs to an optimized random forest model during training, the parameters of the initial random forest model belong to the optimized random forest model during training.

[0077] In an optional embodiment, according to the target base station feature samples, the parameters of the initial random forest model are optimized to obtain a radiation intensity detection model, including: dividing the target base station feature samples into multiple subsets; optimizing the parameters of the initial random forest model according to the multiple subsets to obtain an optimized random forest model; when the optimized random forest model meets the training end condition, the optimized random forest model that meets the training end condition is used as the radiation intensity detection model.

[0078] Optionally, in each training process of the initial random forest model, if the result obtained in the previous training process optimizes the number of decision trees, step 204 and step 206 may be performed here to more accurately select the target base station feature samples.

[0079] In the training method of the above-mentioned radiation intensity detection model, the initial random forest model and base station feature samples of multiple dimensions are obtained, because the decision tree model usually considers the influence of a single feature on the target variable when splitting a node, and the initial random forest model can more comprehensively capture the complex relationship between these features by integrating multiple decision trees, thereby revealing potential associations. Potential associations between data refer to the mutual influence or dependency that may exist between data features. On this basis, the importance of the feature dimensions of the base station feature samples in each dimension is determined, so that the target base station feature samples under the target dimension are selected according to the importance of the feature dimensions, so as to conduct targeted training in the target dimension, which has a greater contribution, so as to improve the efficiency of model training and prediction accuracy; thus, according to the target base station feature samples, the parameters of the initial random forest model are optimized to obtain the radiation intensity detection model. Therefore, by combining the random forest model and multidimensional data analysis, the potential correlation between data can be mined to more accurately predict the intensity of electromagnetic radiation; and by using the importance of feature dimensions, large-scale, multi-dimensional base station feature samples can be more effectively processed and analyzed, and the ability to process complex data is strong; and in the scenario of predicting the intensity of electromagnetic radiation, the use of the random forest model is not prone to model overfitting, which improves the generalization ability of model prediction. In addition, it is suitable for base station feature samples of different types and sizes, has a wide range of application potential, and ensures strong adaptability.

[0080] In an exemplary embodiment, Figure 3 As shown, determining the feature dimension importance of the base station feature sample in each dimension includes step 302 and step 304. Among them:

[0081] Step 302: Determine the information gain change value of the base station feature sample in each dimension.

[0082] The information gain change value is an indicator of the decision tree when considering the base station sample features of each dimension for splitting. The information gain change value can reflect the degree to which the base station sample features of each dimension reduce uncertainty, thereby determining the importance of the feature dimension.

[0083] The information gain change value of each dimension is the information gain difference of this dimension. Optionally, the information gain change value can be the difference or ratio of the information gain under this dimension. Information gain is used to evaluate the degree to which the amount of information in the prediction result increases after the base station feature samples of each dimension are input into the initial random forest model. Information gain is the entropy concept in information theory, which is used to quantify the degree to which a feature can reduce the uncertainty of a data set.

[0084] Optionally, the information gain change value of each dimension itself can be determined based on the base station feature samples of each dimension; the information gain change value of each dimension can be determined based on the base station feature samples of multiple dimensions, and among the multiple dimensions, base station feature samples can be selected from multiple dimensions other than each dimension itself to determine the information gain change value of each dimension.

[0085] Step 304: Determine the importance of the feature dimensions of each dimension according to the information gain change value.

[0086] Optionally, the information gain change value of each dimension may be used as the feature dimension importance of each dimension. The feature dimension importance of each dimension may be determined based on data of positive correlation of the information gain change value of each dimension.

[0087] In this embodiment, the decision tree splitting process of the initial random forest model is associated with the feature dimension importance through the information gain change value to ensure the accuracy of the feature dimension importance. The accuracy of the feature dimension importance means that the initial random forest model can accurately predict more information through the base station sample features of the screened target dimension.

[0088] In one embodiment, the initial random forest model includes multiple decision trees, and each dimension includes a to-be-screened dimension and a reference dimension. The to-be-screened dimension is a dimension for which the importance of the feature dimension needs to be calculated, and the reference dimension is a dimension involved in the calculation process of the importance of the feature dimension. The to-be-screened dimension and the reference dimension are relative concepts, and each dimension can be used as a to-be-screened dimension, and the dimension involved in the calculation process of the importance of each feature dimension can be used as the reference dimension of each dimension.

[0089] like Figure 4 As shown, step 302 and step 304 are further described. Determining the information gain change value of the base station feature sample in each dimension includes steps 402 to 406; determining the feature dimension importance of each dimension according to the information gain change value, including step 408. Wherein:

[0090] Step 402: predict the base station feature samples of each dimension through each decision tree to obtain the comprehensive dimensional prediction result of each decision tree.

[0091] The comprehensive prediction result is the prediction obtained by each decision tree based on the base station feature samples of all dimensions. The comprehensive prediction result is the prediction obtained by each decision tree using the base station sample features of the dimension to be screened and the reference dimension at the same time.

[0092] Step 404, predicting the base station feature samples of the reference dimension through each decision tree to obtain the reference dimension prediction result of each decision tree.

[0093] The reference dimension prediction result is obtained by each decision tree without using the base station feature samples of the dimension to be screened. The difference between the comprehensive prediction result and the reference dimension prediction result is that the decision tree uses the base station sample features of the two dimensions of the dimension to be screened and the reference dimension to predict the comprehensive prediction result, while the decision tree uses the base station sample features of the reference dimension to predict the reference dimension prediction result.

[0094] Step 406, compare the information gain of the comprehensive dimension prediction result with the information gain of the reference dimension prediction result to obtain the information gain change value of each decision tree in the dimension to be screened.

[0095] Optionally, the information gain difference or information gain ratio between the comprehensive dimension prediction result and the reference dimension prediction result can be used as the information gain change value of each decision tree in the dimension to be screened.

[0096] Optionally, the information gain difference or information gain ratio between the comprehensive dimension prediction result and the reference dimension prediction result can be mapped to obtain the information gain change value of each decision tree in the dimension to be screened.

[0097] Step 408, determining the importance of the feature dimension of the dimension to be screened according to the information gain change value of each decision tree in the dimension to be screened.

[0098] Optionally, the information gain change values ​​of each decision tree in the dimension to be screened are combined to obtain the information gain change combination value of the dimension to be screened; the difference value of the information gain change combination value relative to the number of decision trees is determined to obtain the feature dimension importance of the dimension to be screened.

[0099] The information gain change combination value may be a result of accumulation or multiplication, and the difference value may be a ratio of the information gain change combination value to the number of decision trees, a normalized result of the ratio, or a Z-Score standardized value.

[0100] In this embodiment, the comprehensive prediction result and the reference dimension prediction result are carefully determined for each decision tree, so as to more accurately determine the importance of the feature dimension of the dimension to be screened by comparing the changes in information gain generated by the base station sample characteristics using and not using the dimension to be screened in the prediction process.

[0101] In an optional embodiment, it is Figure 5 As shown, step 408 is further described. According to the information gain change value of each decision tree in the dimension to be screened, the feature dimension importance of the dimension to be screened is determined, including step 502 and step 504, wherein:

[0102] Step 502: Accumulate the information gain change value of each decision tree in the dimension to be screened to obtain the accumulated information gain change value of the dimension to be screened.

[0103] Exemplarily, there are X decision trees in the initial random forest model, and there are X information gain change values ​​of the X decision trees in the dimension to be screened. These X information gain change values ​​are added in sequence to obtain the cumulative information gain change value of the dimension to be screened.

[0104] Step 504, according to the number of decision trees, average the cumulative information gain change value to obtain the feature dimension importance of the dimension to be screened.

[0105] Optionally, the ratio between the cumulative information gain change value and the number of decision trees can be calculated, and the ratio can be used as the feature dimension importance of the dimension to be screened. Optionally, the ratio between the cumulative information gain change value and the number of decision trees can be calculated; a positive correlation mapping is performed on the ratio to obtain a mapping result of the positive correlation of the ratio; and the feature dimension importance of the dimension to be screened is determined according to the mapping result.

[0106] In this embodiment, the cumulative information gain change value is averaged according to the number of decision trees, so that the gain change value can be organically combined with the number of decision trees, which is a parameter of the initial random forest model, to accurately obtain the average contribution of the feature to reducing impurity in the decision tree, thereby increasing the accuracy of the importance of the feature dimension.

[0107] In one embodiment, step 208 is further described as follows: Figure 6 As shown, according to the characteristic samples of the target base station, the parameters of the initial random forest model are optimized to obtain a radiation intensity detection model, including steps 602 to 606, wherein:

[0108] Step 602: Divide the target base station feature samples into multiple subsets.

[0109] Optionally, the target base station feature samples may be divided into multiple subsets of the same number according to the number of target base station feature samples. For example, if there are m target base station feature samples in total and n subsets, then each subset has m / n target base station feature samples.

[0110] Optionally, the target base station feature samples may be equally divided according to the preset number in each subset to obtain multiple subsets. For example, if there are m target base station feature samples in total, the preset number is z, and the number of subsets is m / z.

[0111] Step 604, in each training process of the initial random forest model, different subsets are used as validation sets, and subsets of the multiple subsets except the validation set are used as training sets, the parameters of the initial random forest model are optimized through the training set, and the optimized random forest model obtained from each training is evaluated through the validation set.

[0112] The validation set is at least one subset selected from multiple subsets, and the validation set is reselected during each training process. The validation set is used to verify the predictive ability of the optimized random forest model obtained after each training, to determine the model performance under different parameters, and thus determine the optimal parameter combination.

[0113] The training set is a subset selected from multiple subsets, and the training set is different from the validation set to increase the randomness of the samples. In this case, it helps to improve the generalization ability of the model and reduce the risk of overfitting.

[0114] The optimized random forest model is the result of each training process, and each training process can obtain an optimized random forest model.

[0115] In an exemplary embodiment, k-fold cross validation is used to optimize model parameters, including but not limited to the number of decision trees, the maximum depth of the trees, etc. In k-fold cross validation, the data set is divided into k subsets of equal size, and one subset is set aside each time to validate the model, while the remaining k-1 subsets are used for training. This process is repeated k times, and a different subset is selected as the validation set each time, so as to comprehensively evaluate the model performance.

[0116] Step 606: Use the optimized random forest model that meets the training end condition as the radiation intensity detection model.

[0117] The training end condition is the condition for stopping the model optimization. It can be the number of training times or the training accuracy. For example, in k-fold cross validation, when the number of training times reaches k, the training ends and the optimized random forest model with the highest accuracy is used as the radiation intensity detection model.

[0118] In this embodiment, different subsets are used as validation sets, and subsets of multiple subsets except the validation set are used as training sets. The parameters of the initial random forest model are optimized by optimizing the training sets. This optimization helps to improve the generalization ability of the model and reduce the risk of overfitting. The optimal parameter combination can be determined by statistically analyzing the model performance under different parameters, which has high flexibility.

[0119] In one embodiment, the method further includes: a radiation intensity detection model is used to predict the electromagnetic radiation intensity of the base station according to the base station characteristics under the target dimension.

[0120] Base station features are features related to the wireless communication function of the base station. Base station features belong to the target dimension. Since the feature dimension of the target dimension is more important than the feature dimensions of other dimensions, the radiation intensity detection model is focused on the target dimension through the base station features, which can ensure the accuracy of the prediction.

[0121] Both the base station feature and the target base station feature samples belong to the target dimension, except that the base station electromagnetic radiation intensity of the base station feature is unknown data, while the base station electromagnetic radiation intensity samples corresponding to the target base station feature samples are known data.

[0122] In a specific embodiment, it is considered that traditional machine learning methods such as decision trees, support vector machines, etc. can be used for prediction tasks to a certain extent, but they have limitations in processing complex and high-dimensional data. In particular, when analyzing and processing a large amount of multidimensional data of 5G base stations, these methods often cannot make full use of the potential associations between data, thereby affecting the accuracy and reliability of the prediction. Therefore, the random forest algorithm is combined with multidimensional data analysis to improve the prediction accuracy of the electromagnetic radiation intensity of 5G base stations. Unlike traditional machine learning methods, this method effectively processes and analyzes complex and multidimensional data, overcoming the limitations of the prior art in mining potential associations between data. Through this combination, this embodiment improves the ability to process large-scale and complex data, especially in analyzing and predicting the electromagnetic radiation intensity of 5G base stations, significantly improving accuracy and reliability, which is of great significance to public health and environmental protection.

[0123] In a specific embodiment, Figure 7 As shown in the figure, an efficient method combining random forest model and multidimensional data analysis is proposed, which is specifically used to accurately predict the electromagnetic radiation intensity of 5G base stations. This method combines the powerful prediction ability of random forest model and the deep insight of multidimensional data analysis. Its steps include:

[0124] Step 702: establish a random forest model, and use multiple decision trees to comprehensively output results to predict the electromagnetic radiation intensity corresponding to the base station feature samples, thereby enhancing the model's ability to process complex data.

[0125] Step 704, the multi-dimensional data integration combines the multi-dimensional features of the 5G base station such as the geographical location, environmental conditions and network parameters to obtain base station feature samples in multiple dimensions. Thus, the initial random forest model can be trained based on comprehensive data to ensure the accuracy of the radiation intensity detection model prediction.

[0126] Step 706: Optimize the parameters of the initial random forest model through k-fold cross validation. The parameters of the initial random forest model include the number of decision trees and the maximum depth to improve prediction accuracy.

[0127] Step 708, predict and analyze the optimized random forest model to obtain a radiation intensity detection model, use this radiation intensity detection model to predict the electromagnetic radiation intensity based on the new data, and evaluate the model performance.

[0128] The optimized radiation intensity detection model is applied to new data to predict the electromagnetic radiation intensity, and the accuracy and reliability of the model are evaluated by comparing the actual value with the predicted value. In this case, the predicted value of the radiation intensity detection model is as follows Figure 8 As shown, the corresponding actual value is Fig. 9 shown.

[0129] The method of this embodiment combines the random forest model with multidimensional data analysis, which not only improves the accuracy of electromagnetic radiation intensity prediction, but also improves the ability to process large-scale and complex data. Especially in today's era of rapid development of 5G technology, this method is of great significance in ensuring public health and environmental safety.

[0130] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0131] Based on the same inventive concept, the embodiment of the present application also provides a training device for a radiation intensity detection model for implementing the training method for the radiation intensity detection model involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of the training device for one or more radiation intensity detection models provided below can refer to the limitations on the training method for the radiation intensity detection model above, and will not be repeated here.

[0132] In an exemplary embodiment, Fig.10 As shown, a training device for a radiation intensity detection model is provided, comprising:

[0133] The sample acquisition module 1002 is used to obtain the initial random forest model and base station feature samples in multiple dimensions;

[0134] The importance evaluation module 1004 is used to determine the importance of the feature dimensions of the base station feature samples in each dimension;

[0135] A feature screening module 1006 is used to select a target base station feature sample under a target dimension according to the feature dimension importance;

[0136] The model optimization module 1008 is used to optimize the parameters of the initial random forest model according to the target base station feature sample to obtain a radiation intensity detection model.

[0137] In one embodiment, the importance assessment module 1004 is used to:

[0138] Determine the information gain change value of the base station feature sample in each dimension;

[0139] According to the information gain change value, the feature dimension importance of each dimension is determined.

[0140] In one embodiment, the initial random forest model includes multiple decision trees, and each dimension includes a to-be-screened dimension and a reference dimension;

[0141] The importance assessment module 1004 is used to:

[0142] Predicting the base station feature samples of each dimension through each decision tree to obtain a comprehensive dimension prediction result of each decision tree;

[0143] Predicting the base station feature samples of the reference dimension through each decision tree to obtain a reference dimension prediction result of each decision tree;

[0144] Compare the information gain of the comprehensive dimension prediction result with the information gain of the reference dimension prediction result to obtain the information gain change value of each decision tree in the dimension to be screened;

[0145] The importance of the feature dimension of the dimension to be screened is determined according to the information gain change value of each decision tree in the dimension to be screened.

[0146] In one embodiment, the importance assessment module 1004 is used to:

[0147] Accumulating the information gain change value of each decision tree in the dimension to be screened to obtain the accumulated information gain change value of the dimension to be screened;

[0148] According to the number of decision trees, the cumulative information gain change value is averaged to obtain the feature dimension importance of the dimension to be screened.

[0149] In one embodiment, the model optimization module 1008 is used to:

[0150] Dividing the target base station feature samples into multiple subsets;

[0151] In each training process of the initial random forest model, different subsets are used as validation sets, and subsets of the multiple subsets except the validation set are used as training sets, the parameters of the initial random forest model are optimized through the training sets, and the optimized radiation intensity detection model obtained after each training is evaluated through the validation set;

[0152] The optimized radiation intensity detection model that meets the training end conditions is used as the radiation intensity detection model.

[0153] In one of the embodiments, the radiation intensity detection model is used to predict the electromagnetic radiation intensity of the base station based on the base station characteristics under the target dimension.

[0154] Each module in the training device of the radiation intensity detection model can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0155] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Fig.11As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a training method for a radiation intensity detection model is implemented.

[0156] Those skilled in the art will understand that Fig.11 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0157] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0158] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0159] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0160] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0161] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0162] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0163] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for training a radiation intensity detection model, characterized in that: The method comprises: Obtain the initial random forest model and base station feature samples in multiple dimensions; Determining the feature dimension importance of the base station feature sample in each dimension; Selecting a target base station feature sample under a target dimension according to the feature dimension importance; According to the target base station feature samples, the parameters of the initial random forest model are optimized to obtain a radiation intensity detection model.

2. The method according to claim 1, characterized in that The determining the feature dimension importance of the base station feature sample in each dimension includes: Determine the information gain change value of the base station feature sample in each dimension; According to the information gain change value, the feature dimension importance of each dimension is determined.

3. The method according to claim 2, characterized in that The initial random forest model includes multiple decision trees, and each dimension includes a dimension to be screened and a reference dimension; The determining of the information gain change value of the base station feature sample in each dimension includes: Predicting the base station feature samples of each dimension through each decision tree to obtain a comprehensive dimension prediction result of each decision tree; Predicting the base station feature samples of the reference dimension through each decision tree to obtain a reference dimension prediction result of each decision tree; Compare the information gain of the comprehensive dimension prediction result with the information gain of the reference dimension prediction result to obtain the information gain change value of each decision tree in the dimension to be screened; Determining the importance of feature dimensions of each dimension according to the information gain change value includes: The importance of the feature dimension of the dimension to be screened is determined according to the information gain change value of each decision tree in the dimension to be screened.

4. The method according to claim 3, characterized in that: Determining the importance of the feature dimension of the dimension to be screened according to the information gain change value of each decision tree in the dimension to be screened includes: Accumulating the information gain change value of each decision tree in the dimension to be screened to obtain the accumulated information gain change value of the dimension to be screened; According to the number of decision trees, the cumulative information gain change value is averaged to obtain the feature dimension importance of the dimension to be screened.

5. The method according to any one of claims 1 to 4, characterized in that: The step of optimizing the parameters of the initial random forest model according to the target base station feature sample to obtain a radiation intensity detection model includes: Dividing the target base station feature samples into multiple subsets; In each training process of the initial random forest model, different subsets are used as validation sets, and subsets of the multiple subsets except the validation set are used as training sets, the parameters of the initial random forest model are optimized through the training sets, and the optimized random forest model obtained after each training is evaluated through the validation set; The optimized random forest model that meets the training end conditions is used as the radiation intensity detection model.

6. The method according to claim 1, characterized in that The method further comprises: The radiation intensity detection model is used to predict the electromagnetic radiation intensity of the base station according to the base station characteristics under the target dimension.

7. A training device for a radiation intensity detection model, characterized in that: The device comprises: A sample acquisition module is used to obtain the initial random forest model and base station feature samples in multiple dimensions; An importance evaluation module, used to determine the importance of the feature dimensions of the base station feature samples in each dimension; A feature screening module, used to select a target base station feature sample under a target dimension according to the importance of the feature dimension; The model optimization module is used to optimize the parameters of the initial random forest model according to the target base station feature sample to obtain a radiation intensity detection model.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Cited By

  • Environmental radiation risk assessment system and method based on data analysis

    CN120509699A

  • Engine health management method and system

    CN120724160A

  • An engine health management method and system

    CN120724160B

  • Radiation source individual identification method and system based on receiver staining removal effect

    CN122172127A