A dynamic data updating method and system based on service open platform
By acquiring and processing real-time shared data and source data on an open service platform, using the adaptive k-nearest neighbor method and other algorithms for data preprocessing and correction, and building a dynamic data update model, the low efficiency and consistency of dynamic data update in traditional methods are solved. solve the problem and achieve high-accuracy and efficient dynamic data update.
Patent Information
- Application Number
- CN202410326318.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-21
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-03-21
AI Technical Summary
The traditional dynamic data update method of the service open platform is inefficient and prone to data inconsistency due to human error or synchronization delay. Existing technology cannot effectively solve the uncertainty problem of dynamic data update.
By obtaining real-time shared data and source data from the service open platform, preprocessing, noise estimation is performed to select key data, calculation and optimization of mean shift are performed, data classification and correction are performed, and finally a dynamic data update model is built to achieve real-time data update. Specific steps include the combination of adaptive k-nearest neighbor method, noise filtering, random forest algorithm, independent component analysis method, time series analysis method and genetic algorithm.
It improves the accuracy and precision of dynamic data update, saves resources, improves work efficiency, and realizes real-time dynamic data update of the service open platform, which is suitable for different service open platforms and user needs.
Smart Images

Figure CN117931827B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of big data, and in particular to a dynamic data updating method and system based on a service open platform. Background Art
[0002] With the rapid development of information technology, service open platforms have been widely used in many fields. SOP allows third-party developers to develop, deploy and manage their own services under a unified architecture, thereby providing users with rich and diverse functions. This open architecture model has greatly promoted the innovation and integration of services and improved the scalability and flexibility of the system. With the continuous increase in data volume and the rapid changes in service requirements, how to ensure that the data in SOP is updated in real time and accurately has become an urgent problem to be solved. Traditional data update methods often rely on manual operations or regular data synchronization, which is not only inefficient, but also prone to data inconsistencies due to human errors or synchronization delays. Although some dynamic data update methods and systems based on service open platforms have been invented, they still cannot effectively solve the uncertainty problem of dynamic data update methods of service open platforms. Summary of the invention
[0003] The purpose of the present invention is to provide a dynamic data updating method and system based on a service open platform.
[0004] To achieve the above object, the present invention is implemented according to the following technical solutions:
[0005] The present invention comprises the following steps:
[0006] Acquire real-time shared data and source data of the service open platform, and pre-process the real-time shared data;
[0007] The real-time shared data is selected according to the noise estimation to obtain key data, and the optimized mean shift of the key data is calculated:
[0008] Classifying the key data according to the optimized mean shift to obtain hierarchical data, and correcting the hierarchical data according to the source data to obtain target data;
[0009] A dynamic data update model is constructed according to the target data, the real-time data to be updated is input into the dynamic data update model, and an update result is output.
[0010] Furthermore, the method of selecting the real-time shared data to obtain key data according to the noise estimation includes:
[0011] According to the adaptive k-nearest neighbor method, the personalized neighbor parameters of real-time shared data are obtained to find the nearest neighbors;
[0012] The posterior distribution of the actual label is constructed based on the neighbor labels of the real-time shared data, and the expression is:
[0013]
[0014] Among them The true label is , the mean of the b-th true label is , transposed to T, the weight of the b-th Gaussian distribution is , No. The individual proximity parameter of real-time shared data is , the weight of the Gaussian distribution is , the posterior distribution of the true label is , the standard deviation of the covariance matrix is , the Gaussian coefficient is ;
[0015] Compute the noise estimate:
[0016]
[0017] The noise estimate is , the label of the Gaussian distribution is ;
[0018] Arrange the label noise estimation values of the real-time shared data in descending order to obtain a first data set;
[0019] Calculate the optimal selection ratio for the first data set:
[0020]
[0021] The first data set is H, and the complexity of the regression model u is , the number of real-time shared data is m, and the expected function of the first data set is , the actual empirical error of the regression model u in the first data set is , No. The square of the label noise estimate is , the selection coefficient is , select the ratio , the variable function when the objective function takes the minimum value is , the best choice ratio is ;
[0022] The first data set is filtered according to the optimal selection ratio to obtain a second data set, and the second data set is noise filtered using the label noise estimation value to obtain noise data and normal data;
[0023] Train the recall model on normal data, use noise data to test the model to get the model error, and sort the noise data in ascending order according to the model error;
[0024] The data with a proportional error less than 0.21 in the noise data are selected and merged with the normal data to obtain the recall data. The recall data is filtered twice using noise estimation to obtain the key data.
[0025] Furthermore, the optimized mean shift of the key data is calculated, and the expression is:
[0026]
[0027] The key data are f, The actual key data is , the bandwidth parameter is , the offset factor is , the optimized mean shift is , the number of key data is S, the natural constant is e, and the kernel density estimation function is , the norm is .
[0028] Furthermore, the method of classifying the key data according to the optimized mean shift to obtain hierarchical data includes:
[0029]
[0030] The standard constants are , dimension The bandwidth parameter is , the number of data in the index data set is L, the The index data is , the optimized mean shift of index data g is The kernel density gradient is estimated as ;
[0031] Given the kernel density gradient estimate, the expression is:
[0032]
[0033] The kernel function is , the key data is f, The actual key data is , the number of key data is S, and the kernel density gradient of key data is ;
[0034] Search the nearest neighbor data of the key data in the index data set, and use the nearest neighbor data to form a nearest neighbor data set;
[0035] The frequency count flag of the key data in the neighboring data set is increased by one, and the index data value of the updated optimized mean shift is calculated;
[0036] Calculate virtual key data:
[0037]
[0038] The cth iteration The key data is , c+1th iteration The key data is , key data The optimized mean shift value is , the genetic factor is ;
[0039] The key data are classified according to the updated optimized mean shift value range to obtain layered data, and the iteration is continued until all the key data are traversed.
[0040] Furthermore, the method of correcting the hierarchical data according to the source data to obtain the target data includes:
[0041] Randomly select source data for cross-judgment, replace the hierarchical data, and judge the standard value of the source data. The expression is:
[0042]
[0043] The mapping lateral coefficient is , the mapping longitudinal coefficient is , the classification standard analysis function is , the mapping distance of the i-th source data is , the function of the mapping distance is , the i-th standard factor is , the number of source data is p, and the pth source data is , the standardization factor constant coefficient is w, and the standardization requirement for the i-th classification is ;
[0044] Calculate the completeness of hierarchical data classification:
[0045]
[0046] The completeness rate of data classification at the i-th level is , the fitness function of the standard factor constant coefficient w is ;
[0047] The best standard factor is obtained through the completeness rate, the neighborhood of the standard factor is judged, the completeness rate threshold is given, and the hierarchical data is screened to obtain the required data;
[0048] Adjust the standardization of hierarchical data verification, the expression is:
[0049]
[0050] The longitudinal projection distance is , the lateral mapping distance is , adjust the standard ;
[0051] Calculate the adjustment factor based on the source data:
[0052]
[0053] The adjustment factor of the i-th source data is , multi-modal , the complexity of the i-th source data is , the depth of the i-th source data is , the density of the i-th source data is , the Cauchy distribution function is , the judgment time is t;
[0054] The corrected hierarchical data is calculated based on the adjustment factor, and the expression is:
[0055]
[0056] The i-th target data is , the i-th distribution degree is , the i-1th mapping distance is .
[0057] Furthermore, the method for constructing a dynamic data update model according to the target data includes:
[0058] Dynamic data update models include random forest algorithm, independent component analysis, time series analysis algorithm, dynamic neural network algorithm, and genetic algorithm;
[0059] The random forest algorithm divides the target data into training and test sets;
[0060] Independent component analysis finds independent implicit information components by analyzing the high-order statistical correlation of the training set, and extracts data features based on the implicit information components;
[0061] The time series analysis algorithm obtains the time series characteristics based on the stationarity test of data characteristics;
[0062] Dynamic neural network algorithms learn the updating rules of time series characteristics;
[0063] The genetic algorithm adjusts the hyperparameters by putting dynamic data into the test set to update the model's error.
[0064] In a second aspect, a dynamic data update system based on a service open platform includes:
[0065] Data acquisition module: used to acquire real-time shared data and source data of the service open platform, and pre-process the real-time shared data;
[0066] Mean shift module: used to select the real-time shared data to obtain key data according to the noise estimation, and calculate the optimized mean shift of the key data:
[0067] Data correction module: used for classifying the key data according to the optimized mean shift to obtain hierarchical data, and correcting the hierarchical data according to the source data to obtain target data;
[0068] Model building module: used to build a dynamic data update model according to the target data, input the real-time data to be updated into the dynamic data update model, and output the update result.
[0069] The beneficial effects of the present invention are:
[0070] The present invention is a dynamic data updating method and system based on a service open platform. Compared with the prior art, the present invention has the following technical effects:
[0071] The present invention can improve the accuracy of dynamic data updating through preprocessing, data selection, calculation and optimization of mean shift, data stratification, data correction and model building steps, thereby improving the accuracy of dynamic data updating of the service open platform. The dynamic data updating of the service open platform can be optimized, which can greatly save resources and improve work efficiency. The dynamic data updating of the service open platform can be realized and the dynamic data updating of the service open platform can be performed in real time. It is of great significance to the dynamic data updating of the service open platform, and can adapt to the dynamic data updating systems of different service open platforms and the dynamic data updating needs of different users based on the service open platform, and has a certain universality. BRIEF DESCRIPTION OF THE DRAWINGS
[0072] Figure 1 The present invention is a flowchart of the steps of a dynamic data updating method based on a service open platform. DETAILED DESCRIPTION
[0073] The present invention is further described below by means of specific embodiments. The illustrative embodiments and descriptions of the present invention are used to explain the present invention but are not intended to limit the present invention.
[0074] The present invention provides a dynamic data updating method based on a service open platform, comprising the following steps:
[0075] like Figure 1 As shown, in this embodiment, the following steps are included:
[0076] Acquire real-time shared data and source data of the service open platform, and pre-process the real-time shared data;
[0077] In the actual evaluation, the real-time shared data is: User ID: UserA123, access time 2023-10-23 14:30:00, data content "Star Glory One Star, 220 wins, 180 losses, highest rank reached King, commonly used heroes are Di Renjie, Li Bai and Zhuang Zhou", shared;
[0078] The source data is: User ID: UserA123, original data time 2023-10-23 14:25:00, data content "Star Glory three stars, 217 wins, 176 losses, highest rank reached King, commonly used heroes are Di Renjie, Li Bai and Zhuang Zhou", not shared;
[0079] The real-time shared data is selected according to the noise estimation to obtain key data, and the optimized mean shift of the key data is calculated:
[0080] In the actual evaluation, the key data are rank, number of losses, and number of wins; the optimized mean deviations of rank, number of losses, and number of wins are 0.025, 0.043, and 0.031 respectively;
[0081] Classifying the key data according to the optimized mean shift to obtain hierarchical data, and correcting the hierarchical data according to the source data to obtain target data;
[0082] In actual evaluation, the second level data is the rank, and the third level data is the number of losses and wins;
[0083] Constructing a dynamic data update model according to the target data, inputting the real-time data to be updated into the dynamic data update model, and outputting the update result;
[0084] In the actual evaluation, the real-time data to be updated are: User ID: User12345, 2023-10-25 12:15: browsed a column and stayed for a total of 20 minutes, 2023-10-25 18:45: read articles about environmental protection in depth and stayed for 10 minutes, liked a tweet, shared an article about international relations in a column to Moments, and commented on an article about environmental protection when reading it, expressing support and suggestions for environmental protection work;
[0085] The updated results are: in-depth reading of articles about environmental protection and staying on the page for 10 minutes, liking a tweet, sharing an article about international relations in a column to Moments, and commenting on environmental protection articles to express support and suggestions for environmental protection work.
[0086] In this embodiment, the method of selecting the real-time shared data to obtain key data according to the noise estimation includes:
[0087] According to the adaptive k-nearest neighbor method, the personalized neighbor parameters of real-time shared data are obtained to find the nearest neighbors;
[0088] The posterior distribution of the actual label is constructed based on the neighbor labels of the real-time shared data, and the expression is:
[0089]
[0090] Among them The true label is , the mean of the b-th true label is , transposed to T, the weight of the b-th Gaussian distribution is , No. The individual proximity parameter of real-time shared data is , the weight of the Gaussian distribution is , the posterior distribution of the true label is , the standard deviation of the covariance matrix is , the Gaussian coefficient is ;
[0091] Compute the noise estimate:
[0092]
[0093] The noise estimate is , the label of the Gaussian distribution is ;
[0094] Arrange the label noise estimation values of the real-time shared data in descending order to obtain a first data set;
[0095] Calculate the optimal selection ratio for the first data set:
[0096]
[0097] The first data set is H, and the complexity of the regression model u is , the number of real-time shared data is m, and the expected function of the first data set is , the actual empirical error of the regression model u in the first data set is , No. The square of the label noise estimate is , the selection coefficient is , select the ratio , the variable function when the objective function takes the minimum value is , the best choice ratio is ;
[0098] The first data set is filtered according to the optimal selection ratio to obtain a second data set, and the second data set is noise filtered using the label noise estimation value to obtain noise data and normal data;
[0099] Train the recall model on normal data, use noise data to test the model to get the model error, and sort the noise data in ascending order according to the model error;
[0100] The data with a proportional error less than 0.21 in the noise data are selected and merged with the normal data to obtain the recall data. The recall data is filtered twice using noise estimation to obtain the key data.
[0101] In this embodiment, the optimized mean shift of the key data is calculated, and the expression is:
[0102]
[0103] The key data are f, The actual key data is , the bandwidth parameter is , the offset factor is , the optimized mean shift is , the number of key data is S, the natural constant is e, and the kernel density estimation function is , the norm is .
[0104] In this embodiment, the method of classifying the key data according to the optimized mean shift to obtain hierarchical data includes:
[0105]
[0106] The standard constants are , dimension The bandwidth parameter is , the number of data in the index data set is L, the The index data is , the optimized mean shift of index data g is The kernel density gradient is estimated as ;
[0107] Given the kernel density gradient estimate, the expression is:
[0108]
[0109] The kernel function is , the key data is f, The actual key data is , the number of key data is S, and the kernel density gradient of key data is ;
[0110] Search the nearest neighbor data of the key data in the index data set, and use the nearest neighbor data to form a nearest neighbor data set;
[0111] The frequency count flag of the key data in the neighboring data set is increased by one, and the index data value of the updated optimized mean shift is calculated;
[0112] Calculate virtual key data:
[0113]
[0114] The cth iteration The key data is , c+1th iteration The key data is , key data The optimized mean shift value is , the genetic factor is ;
[0115] The key data are classified according to the updated optimized mean shift value range to obtain layered data, and the iteration is continued until all the key data are traversed.
[0116] In this embodiment, the method of correcting the hierarchical data according to the source data to obtain the target data includes:
[0117] Randomly select source data for cross-judgment, replace the hierarchical data, and judge the standard value of the source data. The expression is:
[0118]
[0119] The mapping lateral coefficient is , the mapping longitudinal coefficient is , the classification standard analysis function is , the mapping distance of the i-th source data is , the function of the mapping distance is , the i-th standard factor is , the number of source data is p, and the pth source data is , the standardization factor constant coefficient is w, and the standardization requirement for the i-th classification is ;
[0120] Calculate the completeness of hierarchical data classification:
[0121]
[0122] The completeness rate of data classification at the i-th level is , the fitness function of the standard factor constant coefficient w is ;
[0123] The best standard factor is obtained through the completeness rate, the neighborhood of the standard factor is judged, the completeness rate threshold is given, and the hierarchical data is screened to obtain the required data;
[0124] Adjust the standardization of hierarchical data verification, the expression is:
[0125]
[0126] The vertical mapping distance is , the lateral mapping distance is , adjust the standard ;
[0127] Calculate the adjustment factor based on the source data:
[0128]
[0129] The adjustment factor of the i-th source data is , multi-modal , the complexity of the i-th source data is , the depth of the i-th source data is , the density of the i-th source data is , the Cauchy distribution function is , the judgment time is t;
[0130] The corrected hierarchical data is calculated based on the adjustment factor, and the expression is:
[0131]
[0132] The i-th target data is , the i-th distribution degree is , the i-1th mapping distance is .
[0133] In this embodiment, the method for constructing a dynamic data update model according to the target data includes:
[0134] Dynamic data update models include random forest algorithm, independent component analysis, time series analysis algorithm, dynamic neural network algorithm, and genetic algorithm;
[0135] The random forest algorithm divides the target data into training and test sets;
[0136] Independent component analysis finds independent implicit information components by analyzing the high-order statistical correlation of the training set, and extracts data features based on the implicit information components;
[0137] The time series analysis algorithm obtains the time series characteristics based on the stationarity test of data characteristics;
[0138] Dynamic neural network algorithms learn the updating rules of time series characteristics;
[0139] The genetic algorithm adjusts the hyperparameters by putting dynamic data into the test set to update the model's error.
[0140] In a second aspect, a dynamic data update system based on a service open platform includes:
[0141] Data acquisition module: used to acquire real-time shared data and source data of the service open platform, and pre-process the real-time shared data;
[0142] Mean shift module: used to select the real-time shared data to obtain key data according to the noise estimation, and calculate the optimized mean shift of the key data:
[0143] Data correction module: used for classifying the key data according to the optimized mean shift to obtain hierarchical data, and correcting the hierarchical data according to the source data to obtain target data;
[0144] Model building module: used to build a dynamic data update model according to the target data, input the real-time data to be updated into the dynamic data update model, and output the update result.
[0145] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A dynamic data updating method based on a service open platform, It is characterized in that The following steps are involved: Acquire real-time shared data and source data of the service open platform, and pre-process the real-time shared data; Selecting the real-time shared data to obtain key data according to the noise estimation, and calculating the optimized mean shift of the key data; comprising: a. Obtain personalized neighbor parameters of real-time shared data according to the adaptive k-nearest neighbor method and find neighbors; The posterior distribution of the actual label is constructed based on the neighbor labels of the real-time shared data, and the expression is: Among them The true label is , the mean of the b-th true label is , transposed to T, the weight of the b-th Gaussian distribution is , No. The individual proximity parameter of real-time shared data is , the weight of the Gaussian distribution is , the posterior distribution of the true label is , the standard deviation of the covariance matrix is , the Gaussian coefficient is ; Compute the noise estimate: The noise estimate is , ; Arrange the label noise estimation values of the real-time shared data in descending order to obtain a first data set; Calculate the optimal selection ratio for the first data set: The first data set is H, and the complexity of the regression model u is , the number of real-time shared data is m, and the expected function of the first data set is , the actual empirical error of the regression model u in the first data set is , No. The square of the label noise estimate is , the selection coefficient is , select the ratio , the variable function when the objective function takes the minimum value is , the best choice ratio is ; The first data set is filtered according to the optimal selection ratio to obtain a second data set, and the second data set is noise filtered using the label noise estimation value to obtain noise data and normal data; Train the recall model on normal data, use noise data to test the model to get the model error, and sort the noise data in ascending order according to the model error; Select the data with a proportional error less than 0.21 from the noise data and merge it with the normal data to obtain the recall data. Use the noise estimation to perform secondary filtering on the recall data to obtain the key data. b. Calculate the optimized mean shift of the key data, expressed as: The key data are f, The actual key data is , the bandwidth parameter is , the offset factor is , the optimized mean shift is , the number of key data is S, the natural constant is e, and the kernel density estimation function is , the norm is ; Classifying the key data according to the optimized mean shift to obtain hierarchical data, and correcting the hierarchical data according to the source data to obtain target data; comprising: A recursive algorithm is used to create an index data set based on key data, and the mean shift of the index data set is optimized. The expression is: The standard constants are , dimension The bandwidth parameter is , the number of data in the index data set is L, the The index data is , the optimized mean shift of index data g is The kernel density gradient is estimated as ; Given the kernel density gradient estimate, the expression is: The kernel function is , the key data is f, The actual key data is , the number of key data is S, and the kernel density gradient of key data is ; Search the nearest neighbor data of the key data in the index data set, and use the nearest neighbor data to form a nearest neighbor data set; The frequency count flag of the key data in the neighboring data set is increased by one, and the index data value of the updated optimized mean shift is calculated; Calculate virtual key data: The cth iteration The key data is , c+1th iteration The key data is , key data The optimized mean shift value is , the genetic factor is ; Classify the key data according to the updated optimized mean shift value range to obtain hierarchical data, and iterate continuously until all key data are traversed; Constructing a dynamic data update model according to the target data, inputting the real-time data to be updated into the dynamic data update model, and outputting the update result; comprising: Dynamic data update models include random forest algorithm, independent component analysis, time series analysis algorithm, dynamic neural network algorithm, and genetic algorithm; The random forest algorithm divides the target data into training and test sets; Independent component analysis finds independent implicit information components by analyzing the high-order statistical correlation of the training set, and extracts data features based on the implicit information components; The time series analysis algorithm obtains the time series characteristics based on the stationarity test of data characteristics; Dynamic neural network algorithms learn the updating rules of time series characteristics; The genetic algorithm adjusts the hyperparameters by putting dynamic data into the test set to update the model's error.
2. A dynamic data updating method based on a service open platform according to claim 1, It is characterized in that The method for obtaining target data by correcting the hierarchical data according to the source data comprises: Randomly select source data for cross-judgment, replace the hierarchical data, and judge the standard value of the source data. The expression is: The mapping lateral coefficient is , the mapping longitudinal coefficient is , the classification standard analysis function is , the mapping distance of the i-th source data is , the function of the mapping distance is , the i-th standard factor is , the number of source data is p, and the pth source data is , the standardization factor constant coefficient is w, and the standardization requirement for the i-th classification is ; Calculate the completeness of hierarchical data classification: The completeness rate of data classification at the i-th level is , the fitness function of the standard factor constant coefficient w is ; The best standard factor is obtained through the completeness rate, the neighborhood of the standard factor is judged, the completeness rate threshold is given, and the hierarchical data is screened to obtain the required data; Adjust the standardization of hierarchical data verification, the expression is: The vertical mapping distance is , the lateral mapping distance is , adjust the standard ; Calculate the adjustment factor based on the source data: The adjustment factor of the i-th source data is , multi-modal , the complexity of the i-th source data is , the depth of the i-th source data is , the density of the i-th source data is , the Cauchy distribution function is , the judgment time is t; The corrected hierarchical data is calculated based on the adjustment factor, and the expression is: The i-th target data is , the i-th distribution degree is , the i-1th mapping distance is .
3. A dynamic data update system based on a service open platform, It is characterized in that include: Data acquisition module: used to acquire real-time shared data and source data of the service open platform, and pre-process the real-time shared data; Mean shift module: used to select the real-time shared data to obtain key data according to the noise estimation, and calculate the optimized mean shift of the key data; including: a. Obtain personalized neighbor parameters of real-time shared data according to the adaptive k-nearest neighbor method and find neighbors; The posterior distribution of the actual label is constructed based on the neighbor labels of the real-time shared data, and the expression is: Among them The true label is , the mean of the b-th true label is , transposed to T, the weight of the b-th Gaussian distribution is , No. The individual proximity parameter of real-time shared data is , the weight of the Gaussian distribution is , the posterior distribution of the true label is , the standard deviation of the covariance matrix is , the Gaussian coefficient is ; Compute the noise estimate: The noise estimate is , ; Arrange the label noise estimation values of the real-time shared data in descending order to obtain a first data set; Calculate the optimal selection ratio for the first data set: The first data set is H, and the complexity of the regression model u is , the number of real-time shared data is m, and the expected function of the first data set is , the actual empirical error of the regression model u in the first data set is , No. The square of the label noise estimate is , the selection coefficient is , select the ratio , the variable function when the objective function takes the minimum value is , the best choice ratio is ; The first data set is filtered according to the optimal selection ratio to obtain a second data set, and the second data set is noise filtered using the label noise estimation value to obtain noise data and normal data; Train the recall model on normal data, use noise data to test the model to get the model error, and sort the noise data in ascending order according to the model error; Select the data with a proportional error less than 0.21 from the noise data and merge it with the normal data to obtain the recall data. Use the noise estimation to perform secondary filtering on the recall data to obtain the key data. b. Calculate the optimized mean shift of the key data, expressed as: The key data are f, The actual key data is , the bandwidth parameter is , the offset factor is , the optimized mean shift is , the number of key data is S, the natural constant is e, and the kernel density estimation function is , the norm is ; A data correction module: used for classifying the key data according to the optimized mean shift to obtain hierarchical data, and correcting the hierarchical data according to the source data to obtain target data; comprising: A recursive algorithm is used to create an index data set based on key data, and the mean shift of the index data set is optimized. The expression is: The standard constants are , dimension The bandwidth parameter is , the number of data in the index data set is L, the The index data is , the optimized mean shift of index data g is The kernel density gradient is estimated as ; Given the kernel density gradient estimate, the expression is: The kernel function is , the key data is f, The actual key data is , the number of key data is S, and the kernel density gradient of key data is ; Search the nearest neighbor data of the key data in the index data set, and use the nearest neighbor data to form a nearest neighbor data set; The frequency count flag of the key data in the neighboring data set is increased by one, and the index data value of the updated optimized mean shift is calculated; Calculate virtual key data: The cth iteration The key data is , c+1th iteration The key data is , key data The optimized mean shift value is , the genetic factor is ; Classify the key data according to the updated optimized mean shift value range to obtain hierarchical data, and iterate continuously until all key data are traversed; Model building module: used to build a dynamic data update model according to the target data, input the real-time data to be updated into the dynamic data update model, and output the update result; including: Dynamic data update models include random forest algorithm, independent component analysis, time series analysis algorithm, dynamic neural network algorithm, and genetic algorithm; The random forest algorithm divides the target data into training and test sets; Independent component analysis finds independent implicit information components by analyzing the high-order statistical correlation of the training set, and extracts data features based on the implicit information components; The time series analysis algorithm obtains the time series characteristics based on the stationarity test of data characteristics; Dynamic neural network algorithms learn the updating rules of time series characteristics; The genetic algorithm adjusts the hyperparameters by putting dynamic data into the test set to update the model's error.
