Data quality assessment method and system based on neural network

The data quality assessment method based on neural networks solves the problem of low reliability of traditional methods in complex data environments, achieves comprehensive assessment and automated quality monitoring of multiple data types, and improves the accuracy and efficiency of assessment.

CN118093567BActive Publication Date: 2024-09-24WUHAN WISTRON WEIZUN SOFTWARE CO LTD

Patent Information

Application Number
CN202410293504.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-14
Publication Date
2024-09-24
Estimated Expiration
2044-03-14

AI Technical Summary

Technical Problem

Traditional data quality assessment methods have low reliability in complex data environments, are difficult to adapt to a variety of data types and forms, and rely on manual intervention and rules, resulting in low efficiency.

Method used

Using a data quality assessment method based on neural networks, we obtain sample data for preprocessing and classification, establish a data quality evaluation index system, and construct an input layer, feature encoding layer, correlation analysis layer, attention layer, feature fusion layer, and output. layer of the neural network model, and use the improved mountaineering team optimization algorithm to optimize the hyperparameters to achieve comprehensive evaluation of different data types.

Benefits of technology

It improves the accuracy and reliability of data quality assessment, reduces the impact of subjective factors, can automatically evaluate and monitor data quality, adapts to complex data environments, quickly searches and improves convergence speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118093567B
    Figure CN118093567B
Patent Text Reader

Abstract

The present invention discloses a data quality assessment method and system based on a neural network, the method comprising: obtaining sample data for data quality assessment, and performing preprocessing and data type classification; establishing a data quality assessment index system, and calculating each index value of the data quality assessment index system; constructing a neural network model, taking the preprocessed sample data and each index value of the data quality assessment index system as input, and taking the data quality assessment result as output, and training the neural network model; and performing quality assessment on the data to be tested through the trained neural network model. The present invention can realize comprehensive data quality assessment of data containing different data types at the same time in a complex data environment, which can avoid the limitation of only being able to perform quality assessment of a single type of data on the one hand, and reduce the influence of subjective factors on the other hand, and improve the reliability of data quality assessment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of data quality assessment, and in particular relates to a data quality assessment method and system based on a neural network. Background Art

[0002] In today's big data era, data quality assessment is a crucial part of data analysis and decision-making. By assessing data quality, users can find data quality problems, develop data cleaning and optimization strategies, and improve data credibility and application effects.

[0003] Traditional data quality assessment methods often rely on manual rules and statistical analysis, which are highly subjective, inefficient, and difficult to adapt to complex data environments. They often require excessive manual intervention and rule setting. Overall, traditional data quality assessment methods are still effective in some cases, but in the era of big data and complex data environments, with a variety of data types and forms, these assessment methods can no longer meet the requirements of timeliness and accuracy.

[0004] With the development of deep learning and neural network technology, data quality assessment methods based on neural networks have gradually attracted attention. Data quality assessment methods based on neural networks still have certain limitations when processing complex data, and the accuracy and reliability of data quality assessment need to be improved. Summary of the invention

[0005] In view of this, the present invention proposes a data quality assessment method and system based on a neural network, which are used to solve the problem of low reliability of data quality assessment in a complex data environment.

[0006] In a first aspect, the present invention discloses a data quality assessment method based on a neural network, the method comprising:

[0007] Obtain sample data for data quality assessment, and perform preprocessing and data type classification;

[0008] Establish a data quality evaluation index system and calculate the values ​​of each index of the data quality evaluation index system;

[0009] Construct a neural network model, take the preprocessed sample data and the various indicator values ​​of the data quality evaluation indicator system as input, take the data quality evaluation results as output, and train the neural network model;

[0010] The quality of the test data is evaluated through the trained neural network model.

[0011] On the basis of the above technical scheme, preferably, the data types include text data, numerical data and image data; the data quality evaluation index system includes primary indicators and secondary indicators, the primary indicators include completeness, standardization, accuracy and consistency, and the secondary indicators include the completeness, standardization, accuracy and consistency of the data corresponding to each data type.

[0012] On the basis of the above technical solution, preferably, the neural network model includes an input layer, a feature encoding layer, a correlation analysis layer, an attention layer, a feature fusion layer, a fully connected layer and an output layer connected in sequence;

[0013] The input layer is used to input text data, numerical data, image data and corresponding index values;

[0014] The feature coding layer includes a text coding module, a numerical coding module and an image coding module, which are used to encode text data, numerical data and image data respectively;

[0015] The association analysis layer is used to analyze the association relationship between text data or numerical data and image data;

[0016] The attention layer is used to analyze the influence weights of different data types and corresponding indicator values ​​on the quality assessment results;

[0017] The feature fusion layer is used to perform feature fusion on the analysis results of the attention layer;

[0018] The fully connected layer is used to connect all features and pass them to the output layer;

[0019] The output layer is used to output data quality assessment results.

[0020] On the basis of the above technical solution, preferably, the text encoding module adopts a Transformer architecture, including sequentially connecting multiple layers of Transformer encoders to convert the input text into a high-dimensional semantic representation;

[0021] The numerical encoding module is used to perform normalization processing on numerical data in a normalized manner;

[0022] The image encoding module is used to divide the image into blocks, flatten it to form a block sequence, and each block is processed by a self-attention mechanism and a feedforward neural network to obtain a high-dimensional feature representation of the image.

[0023] On the basis of the above technical solution, preferably, in the process of training the neural network model, an improved mountaineering team optimization algorithm is used to optimize the hyperparameters of the neural network model, and the use of the improved mountaineering team optimization algorithm to optimize the hyperparameters of the neural network model specifically includes:

[0024] The hyperparameters of the neural network model are combined into individual vectors of the climbing team optimization algorithm, the population of the climbing team optimization algorithm is randomly initialized, and the maximum number of iterations is set;

[0025] Design the fitness function with the goal of minimizing the loss function of the neural network model;

[0026] Calculate the fitness value of each individual based on the fitness function and save the minimum historical fitness value;

[0027] Calculate the fitness value of the current individual position and compare it with the minimum fitness value in history, and take the individual position corresponding to the minimum value of the two as the historical optimal individual position;

[0028] In the collaborative mountain climbing stage, a multi-party dialogue strategy is introduced to update the individual positions in the population;

[0029] In the disaster threat stage, a differential mutation strategy is introduced to update the individual positions in the population;

[0030] In the coordinated defense phase, the individual positions in the population are updated based on the average position of the population;

[0031] Recalculate the fitness of each individual and determine the historical optimal individual position;

[0032] Determine whether the iteration termination condition is met. If so, end the iteration. Otherwise, repeat the above process until the iteration termination condition is met and output the historical optimal individual position as the hyperparameter of the neural network model.

[0033] On the basis of the above technical solution, preferably, in the collaborative mountain climbing stage, the formula for introducing a multi-party dialogue strategy to update the individual positions in the population is:

[0034]

[0035] Among them, t represents the current iteration number, X i (t), X i (t+1) is the position of individual i at the tth and t+1th iterations, rand is a random number between [0,1], X w (t), X B (t), X r (t) are the worst individual position, the best individual position in history, and the randomly selected individual position at the tth iteration.

[0036] On the basis of the above technical solution, preferably, in the disaster threat stage, the formula for introducing the differential mutation strategy to update the individual positions in the population is:

[0037] X i(t+1)=X i (t)+R 1 *[X b (t)-X i (t)]+R 2 *[X i (t)-X w (t)]

[0038]

[0039]

[0040] Among them, R 1 , R 2 are forward difference mutation operator and backward difference mutation operator respectively, α 1 , β 1 , α, 2 β 2 are the coefficients of the forward difference mutation operator and the backward difference mutation operator respectively; X b (t) is the local optimal position of the tth iteration;

[0041] In the coordinated defense phase, the formula for updating the individual positions in the population based on the average position of the population is:

[0042] X i (t+1)=X i (t)-λ*[X Team (t)-X i (t)]*N(0,1)

[0043] Among them, X Team (t) is the average position of the population, N(0,1) is a random number that follows a Gaussian distribution, is the adaptive step size.

[0044] In a second aspect, the present invention discloses a data quality assessment system based on a neural network, the system comprising:

[0045] Data processing module: used to obtain sample data for data quality assessment, and perform preprocessing and data type classification;

[0046] Index calculation module: used to establish a data quality evaluation index system and calculate the values ​​of each index of the data quality evaluation index system;

[0047] Model training module: used to build a neural network model, taking the preprocessed sample data and the various indicator values ​​of the data quality evaluation indicator system as input and the data quality evaluation results as output to train the neural network model;

[0048] Quality assessment module: used to perform quality assessment on the test data through the trained neural network model.

[0049] In a third aspect of the present invention, an electronic device is disclosed, comprising: at least one processor, at least one memory, a communication interface and a bus;

[0050] Wherein, the processor, memory, and communication interface communicate with each other via the bus;

[0051] The memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to implement the method according to the first aspect of the present invention.

[0052] According to a fourth aspect of the present invention, a computer-readable storage medium is disclosed, wherein the computer-readable storage medium stores computer instructions, and the computer instructions enable a computer to implement the method described in the first aspect of the present invention.

[0053] Compared with the prior art, the present invention has the following beneficial effects:

[0054] 1) The present invention uses the preprocessed sample data and the various indicator values ​​of the data quality evaluation index system as input and the data quality evaluation results as output to train the neural network model for quality evaluation. It can realize comprehensive data quality evaluation of data containing different data types in a complex data environment. On the one hand, it can avoid the limitations of single-type data quality evaluation. On the other hand, it can reduce the influence of subjective factors brought by the data quality evaluation method directly using linear weighted summation, and improve the reliability of data quality evaluation.

[0055] 2) The neural network model of the present invention combines a text encoding module, a numerical encoding module and an image encoding module, which are respectively used to encode text data, numerical data and image data. It has a strong cross-modal learning ability and can simultaneously perform representation learning of images, texts and numerical values. It also analyzes the hidden correlations between data of different data types through the association analysis module. The attention layer is used to analyze the influence weights of different data types and corresponding indicator values ​​on the quality assessment results, which can help automatically evaluate and monitor the quality of data and improve the accuracy of data evaluation.

[0056] 3) In the process of training the neural network model, the present invention adopts an improved mountaineering team optimization algorithm to optimize the hyperparameters of the neural network model. In view of the shortcomings of the original mountaineering team optimization algorithm, a multi-party dialogue strategy is introduced in the collaborative mountaineering stage, so that the current individual not only dialogues with the individual in the historical optimal position, but also exchanges information with the worst individual position and randomly selected individual positions, and comprehensively selects a position that is closer to the optimal solution as the new position, thereby reducing the uncertainty of random search, enabling the algorithm to perform rapid search in the early stage, and accelerating the convergence speed.

[0057] 4) The present invention introduces a differential mutation strategy in the disaster threat stage. When an individual may fall into a local optimal solution, the position of the current individual is changed by forward differential mutation and backward differential mutation based on the distance between the current position and the local optimal position and the current worst position, so as to quickly escape from the local optimal solution and improve the quality of the solution. At the same time, in the coordinated defense stage, Gaussian distribution is used to guide the update of the individual positions in the population, and the iteration step size is adaptively adjusted as the number of iterations increases. In the early stage of the algorithm, a larger step size is used, and the possibility of falling into the local optimal solution is less. In the later stage of the algorithm, the iteration step size is reduced to avoid missing the optimal solution, thereby improving the convergence of the algorithm. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0059] Figure 1 It is a flow chart of the data quality assessment method based on neural network of the present invention;

[0060] Figure 2 It is a schematic diagram of the neural network model structure of the present invention. DETAILED DESCRIPTION

[0061] The following will be combined with the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0062] See also Figure 1 The present invention proposes a data quality assessment method based on a neural network, the method comprising:

[0063] S1. Obtain sample data for data quality assessment, and perform preprocessing and data type classification.

[0064] In the era of big data and complex data environments, data types and forms are diverse. In order to improve the accuracy of data quality assessment, it is necessary to use appropriate mathematical models and algorithms to process the data separately.

[0065] The present invention mainly takes into account that common data types in a complex data environment include text data, numerical data, and multimedia data, etc. Therefore, the text data, numerical data, and multimedia data are preprocessed respectively, the audio data in the multimedia data is converted into text data, and the video data is converted into text data + picture data. Finally, the data types are divided into text data, numerical data, and picture data. Subsequently, these different types of data will be used for comprehensive data quality evaluation to reflect the overall data quality.

[0066] S2. Establish a data quality evaluation index system and calculate the values ​​of each index of the data quality evaluation index system.

[0067] The data quality evaluation index system of the present invention includes primary indicators and secondary indicators. The primary indicators include completeness, standardization, accuracy and consistency, and the secondary indicators include the completeness, standardization, accuracy and consistency of data corresponding to each data type.

[0068] Specifically, the first-level indicator of integrity includes the second-level indicators of text data integrity, numerical data integrity, and image data integrity. The first-level indicator of standardization includes the second-level indicators of text data standardization, numerical data standardization, and image data standardization. The first-level indicator of accuracy includes the second-level indicators of text data accuracy, numerical data accuracy, and image data accuracy. The first-level indicator of consistency includes the second-level indicators of text data consistency, numerical data consistency, and image data consistency.

[0069] For example, you can check whether text data / numeric data is missing key information or contains erroneous information, filter valid key fields, and evaluate the integrity of text data / numeric data by calculating the proportion of valid key fields in text data / numeric data. For image data, you can identify missing or blurred areas in the image and calculate the proportion of clear areas as the integrity calculation result of the image data. Standardization is used to measure whether the format, accuracy or clarity, structure and other requirements of text data, numeric data, and image data meet unified standards, and count the proportion of sample data of a certain type that meets the standards as the standardization calculation result of the corresponding type of data. Accuracy is used to measure the error between text data, numeric data, and image data and the corresponding standard data. Consistency is used to measure the degree of consistency under different sources or time points. When calculating the consistency of data, you can compare the values ​​of the same field under different data sources or time points to check whether there are differences, and evaluate the consistency of data by calculating the similarity or difference between data values; or check whether the logical relationship between data is consistent, for example, check whether the constraints and dependencies between data meet expectations. According to the above principles, calculate the indicator values ​​corresponding to each secondary indicator.

[0070] S3. Build a neural network model.

[0071] like Figure 2 As shown, the neural network model of the present invention includes an input layer, a feature encoding layer, a correlation analysis layer, an attention layer, a feature fusion layer, a fully connected layer and an output layer connected in sequence;

[0072] The input layer is used to input text data, numerical data, image data and corresponding index values;

[0073] The feature coding layer includes a text coding module, a numerical coding module and an image coding module, which are used to encode text data, numerical data and image data respectively;

[0074] Specifically, the text encoding module adopts the Transformer architecture, including connecting multiple layers of Transformer encoders in sequence to convert the input text into a high-dimensional semantic representation; the numerical encoding module is used to standardize the numerical data in a normalized manner; the image encoding module is used to divide the image into blocks, flatten it to form a block sequence, and then each block is paid attention to the importance of each block through a multi-head self-attention mechanism, and then processed through a feedforward neural network to obtain a high-dimensional feature representation of the image.

[0075] The association analysis layer is used to analyze the association relationship between the encoded text data or numerical data and the image data by comparing and calculating the similarity, which helps to evaluate the association between the data;

[0076] The attention layer is used to analyze the influence weights of different data types and corresponding indicator values ​​on the quality assessment results through the attention mechanism;

[0077] The feature fusion layer is used to perform feature splicing based on the analysis results of the attention layer;

[0078] The fully connected layer is used to connect all features and pass them to the output layer;

[0079] The output layer is used to output data quality assessment results.

[0080] The data quality assessment results can be in the form of specific scores, which can be used to divide the data quality into five levels, namely excellent, good, medium, passing and failing, thereby achieving a comprehensive assessment of different types of data in a complex data environment.

[0081] S4. Train the neural network model using the preprocessed sample data and the various indicator values ​​of the data quality evaluation index system as input and the data quality evaluation results as output.

[0082] The preprocessed sample data and the indicator values ​​corresponding to each secondary indicator are input into the neural network model for training.

[0083] In step S4, the hyperparameters of the neural network model are optimized using the improved mountaineering team optimization algorithm. The hyperparameters of the neural network model are optimized using the improved mountaineering team optimization algorithm, which specifically includes:

[0084] S41, forming the hyperparameters of the neural network model into individual vectors of the mountaineering team optimization algorithm, randomly initializing the population of the mountaineering team optimization algorithm, and setting the maximum number of iterations T;

[0085] The learning rate of the neural network model, regularization parameter, number of neural network layers, number of learning rounds, and other hyperparameters form the individual vectors of the climbing team optimization algorithm. The number of hyperparameters is the same as the dimension of the individual vector. The climbing team optimization algorithm is randomly initialized within the value range of each hyperparameter.

[0086] S42. Design a fitness function with the goal of minimizing the loss function of the neural network model.

[0087] S43. Calculate the fitness value of each individual based on the fitness function and save the minimum value of the historical fitness value.

[0088] S44, calculating the fitness value of the current individual position and comparing it with the minimum fitness value in history, and taking the individual position corresponding to the minimum value of the two as the optimal individual position in history.

[0089] S45. In the collaborative mountain climbing stage, a multi-party dialogue strategy is introduced to update the individual positions in the population. The formula is:

[0090]

[0091] Among them, t represents the current iteration number, X i (t), X i (t+1) is the position of individual i at the tth and t+1th iterations, rand is a random number between [0,1], X w (t), X B (t), X r (t) are the worst individual position, the best individual position in history, and the randomly selected individual position at the tth iteration.

[0092] The present invention introduces a multi-party dialogue strategy in the collaborative mountaineering stage, so that the current individual not only dialogues with the individual in the historical optimal position, but also exchanges information with the worst individual position and randomly selected individual positions, and comprehensively selects a position that is closer to the optimal solution as the new position, reducing the uncertainty of random search, allowing the algorithm to perform rapid search in the early stage, and accelerating the convergence speed.

[0093] S46. In the disaster threat stage, the differential mutation strategy is introduced to update the individual positions in the population. The formula is:

[0094] X i (t+1)=X i (t)+R 1 *[X b (t)-X i (t)]+R 2 *[X i (t)-X w (t)]

[0095]

[0096]

[0097] Among them, R 1 , R 2 are forward difference mutation operator and backward difference mutation operator respectively, X b (t) is the local optimal position of the tth iteration, α 1 , β 1 , α 2 , β 2are the coefficients of the forward difference mutation operator and the backward difference mutation operator respectively.

[0098] By introducing a differential mutation strategy, the present invention can change the position of the current individual through forward differential mutation and backward differential mutation based on the distance between the current position and the local optimal position and the current worst position when the individual may fall into a local optimal solution during the disaster threat stage, so as to quickly escape from the local optimal solution and improve the quality of the solution.

[0099] S47. In the coordinated defense phase, the individual positions in the population are updated based on the average position of the population, the worst individuals are deleted, and new individuals are randomly generated.

[0100] X i (t+1)=X i (t)-λ*[X Team (t)-X i (t)]*N(0,1)

[0101] Among them, X Team (t) is the average position of the population, N(0,1) is a random number that follows a Gaussian distribution, is the adaptive step size.

[0102] In the coordinated defense stage, the present invention adopts Gaussian distribution to guide the update of individual positions in the population, and adaptively adjusts the iteration step size as the number of iterations increases. In the early stage of the algorithm, the step size is larger and the possibility of falling into the local optimum is less. In the later stage of the algorithm, the iteration step size is reduced to avoid missing the optimal solution, thereby improving the convergence of the algorithm.

[0103] In specific implementation, a random number a in [0,1] can be generated, and the size of a can be used to determine whether to enter the collaborative mountaineering stage, the disaster threat stage, or the coordinated defense stage.

[0104] S48. Recalculate the fitness of each individual and determine the historical optimal individual position.

[0105] S49, determine whether the iteration termination condition is met, if so, end the iteration, otherwise, return to step S45 and repeat the above process until the iteration termination condition is met, and output the historical optimal individual position as the hyperparameter of the neural network model.

[0106] S5. Use the trained neural network model to evaluate the quality of the data to be tested.

[0107] Specifically, the test data is preprocessed and divided into data types according to step S1, and the values ​​of each secondary indicator are calculated according to the data quality evaluation index system. Then, the preprocessed test data and the values ​​of each secondary indicator are input into the trained neural network model to output the quality evaluation results of the test data.

[0108] The present invention uses the preprocessed sample data and the various indicator values ​​of the data quality evaluation index system as input and the data quality evaluation results as output to train a neural network model for quality evaluation. It can realize comprehensive data quality evaluation of data containing different data types in a complex data environment. On the one hand, it can avoid the limitations of single-type data evaluation, and on the other hand, it can reduce the influence of subjective factors brought about by directly using the weighted summation method.

[0109] Based on the above method embodiment, a data quality assessment system based on a neural network is provided, the system comprising:

[0110] Data processing module: used to obtain sample data for data quality assessment, and perform preprocessing and data type classification;

[0111] Index calculation module: used to establish a data quality evaluation index system and calculate the values ​​of each index of the data quality evaluation index system;

[0112] Model training module: used to build a neural network model, taking the preprocessed sample data and the various indicator values ​​of the data quality evaluation indicator system as input and the data quality evaluation results as output to train the neural network model;

[0113] Quality assessment module: used to perform quality assessment on the test data through the trained neural network model.

[0114] The above system embodiments and method embodiments correspond one to one, and for a brief description of the system embodiments, please refer to the method embodiments.

[0115] The present invention also discloses an electronic device, comprising: at least one processor, at least one memory, a communication interface and a bus; wherein the processor, memory, and communication interface communicate with each other through the bus; the memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to implement the aforementioned method of the present invention.

[0116] The present invention also discloses a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, wherein the computer instructions enable the computer to implement all or part of the steps of the method described in the embodiment of the present invention. The storage medium includes: a USB flash drive, a mobile hard disk, a read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk, and other media that can store program codes.

[0117] The system embodiment described above is merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be distributed to multiple network units. A person skilled in the art may select some or all of the modules according to actual needs to achieve the purpose of the solution of this embodiment without creative effort.

[0118] 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 principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A data quality assessment method based on neural network, It is characterized in that The method comprises: Obtain sample data for data quality assessment, and perform preprocessing and data type classification; Establish a data quality evaluation index system and calculate the values ​​of each index of the data quality evaluation index system; Construct a neural network model, take the preprocessed sample data and the various indicator values ​​of the data quality evaluation indicator system as input, take the data quality evaluation results as output, and train the neural network model; Use the trained neural network model to evaluate the quality of the test data; In the process of training the neural network model, the improved mountaineering team optimization algorithm is used to optimize the hyperparameters of the neural network model. The improved mountaineering team optimization algorithm is used to optimize the hyperparameters of the neural network model, and the hyperparameters of the neural network model are specifically optimized including: The hyperparameters of the neural network model are combined into individual vectors of the climbing team optimization algorithm, the population of the climbing team optimization algorithm is randomly initialized, and the maximum number of iterations is set; Design the fitness function with the goal of minimizing the loss function of the neural network model; Calculate the fitness value of each individual based on the fitness function and save the minimum historical fitness value; Calculate the fitness value of the current individual position and compare it with the minimum fitness value in history, and take the individual position corresponding to the minimum value of the two as the historical optimal individual position; In the collaborative mountain climbing stage, a multi-party dialogue strategy is introduced to update the individual positions in the population; In the disaster threat stage, a differential mutation strategy is introduced to update the individual positions in the population; In the coordinated defense phase, the individual positions in the population are updated based on the average position of the population; Recalculate the fitness of each individual and determine the historical optimal individual position; Determine whether the iteration termination condition is met. If so, end the iteration. Otherwise, repeat the above process until the iteration termination condition is met and output the historical optimal individual position as the hyperparameter of the neural network model. The data types include text data, numerical data and image data; the data quality evaluation index system includes primary indicators and secondary indicators, the primary indicators include completeness, standardization, accuracy and consistency, and the secondary indicators include the completeness, standardization, accuracy and consistency of the data corresponding to each data type.

2. The data quality assessment method based on neural network according to claim 1, It is characterized in that The neural network model includes an input layer, a feature encoding layer, a correlation analysis layer, an attention layer, a feature fusion layer, a fully connected layer and an output layer connected in sequence; The input layer is used to input text data, numerical data, image data and corresponding index values; The feature coding layer includes a text coding module, a numerical coding module and an image coding module, which are used to encode text data, numerical data and image data respectively; The association analysis layer is used to analyze the association relationship between text data or numerical data and image data; The attention layer is used to analyze the influence weights of different data types and corresponding indicator values ​​on the quality assessment results; The feature fusion layer is used to perform feature fusion on the analysis results of the attention layer; The fully connected layer is used to connect all features and pass them to the output layer; The output layer is used to output data quality assessment results.

3. The data quality assessment method based on neural network according to claim 2, It is characterized in that The text encoding module adopts a Transformer architecture, including multiple layers of Transformer encoders connected in sequence, for converting input text into a high-dimensional semantic representation; The numerical encoding module is used to perform normalization processing on numerical data in a normalized manner; The image encoding module is used to divide the image into blocks, flatten it to form a block sequence, and each block is processed by a self-attention mechanism and a feedforward neural network to obtain a high-dimensional feature representation of the image.

4. The data quality assessment method based on neural network according to claim 1, It is characterized in that In the collaborative mountain climbing stage, the formula for introducing a multi-party dialogue strategy to update the individual positions in the population is: Among them, t represents the current iteration number, X i (t), X i (t+1) is the position of individual i at the tth and t+1th iterations, rand is a random number between [0,1], X w (t), X B (t), X r (t) are the worst individual position, the best individual position in history, and the randomly selected individual position at the tth iteration.

5. The data quality assessment method based on neural network according to claim 4, It is characterized in that In the disaster threat stage, the formula for introducing the differential mutation strategy to update the individual positions in the population is: X i (t+1)=X i (t)+R 1 *[X b (t)-X i (t)]+R 2 *[X i (t)-X w (t)] Among them, R 1 , R 2 are forward difference mutation operator and backward difference mutation operator respectively, α 1 , β 1 , α 2 , β 2 are the coefficients of the forward difference mutation operator and the backward difference mutation operator respectively; X b (t) is the local optimal position of the tth iteration; In the coordinated defense phase, the formula for updating the individual positions in the population based on the average position of the population is: X i (t+1)=X i (t)-λ*[X Team (t)-X i (t)]*N(0,1) Among them, X Team (t) is the average position of the population, N(0,1) is a random number that follows a Gaussian distribution, is the adaptive step size.

6. A data quality assessment system based on a neural network using the method according to any one of claims 1 to 5, It is characterized in that The system comprises: Data processing module: used to obtain sample data for data quality assessment, and perform preprocessing and data type classification; Index calculation module: used to establish a data quality evaluation index system and calculate the values ​​of each index of the data quality evaluation index system; Model training module: used to build a neural network model, taking the preprocessed sample data and the various indicator values ​​of the data quality evaluation indicator system as input and the data quality evaluation results as output to train the neural network model; Quality assessment module: used to perform quality assessment on the test data through the trained neural network model.

7. An electronic device, It is characterized in that include: at least one processor, at least one memory, a communication interface, and a bus; Wherein, the processor, memory, and communication interface communicate with each other via the bus; The memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to implement the method according to any one of claims 1 to 5.

8. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions enable a computer to implement the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • A power quality comprehensive evaluation method based on a probabilistic neural network

    CN109165807A

  • Structured data set quality evaluation model generation method, evaluation method and device

    CN111339215A

  • Manufacturing service data value evaluation method and device based on fuzzy neural network

    CN116152011A

  • Anti-interference effect evaluation method for optimizing convolutional neural network by using sparrow algorithm

    CN116502676A

  • Image data quality evaluation method and apparatus, terminal device, and readable storage medium

    US20240046440A1

Cited By

  • AI training-oriented data quality multi-dimensional evaluation method and system

    CN122508072A

  • An AI training-oriented data quality multi-dimensional evaluation method and system

    CN122508072B