A water quality parameter inversion method, device, storage medium and electronic equipment

By acquiring and processing unlabeled sample data from water surface monitoring points, generating suitable labeled sample data sets and training neural network models, the problem of low inversion accuracy of water quality parameters and insufficient diversity of training sample data is solved, and the accuracy of water quality parameters is achieved. Inversion and efficient training of neural network models.

CN116701931BActive Publication Date: 2024-10-01CHINA THREE GORGES CORPORATION
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310615470.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-24
Publication Date
2024-10-01
Estimated Expiration
2043-05-24

AI Technical Summary

Technical Problem

The water quality parameter inversion accuracy in the existing technology is low and the training sample data lacks diversity, resulting in the generated training sample data being unsuitable for training neural network models.

Method used

By obtaining the unlabeled sample data set of water surface monitoring points, selecting and adding feature data based on preset selection conditions, generating a labeled sample data set, and using this data set to train a neural network model, combined with regression analysis methods to perform water quality parameter inversion.

Benefits of technology

It achieves accurate inversion of water quality parameters, provides a training sample data set suitable for training neural network models, and improves the quality of training results of neural network models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116701931B_ABST
    Figure CN116701931B_ABST
Patent Text Reader

Abstract

The present invention discloses a water quality parameter inversion method, device, storage medium and electronic device, which integrate water quality parameter data and remote sensing data, and can accurately invert water quality parameters based on the water quality parameter data and remote sensing data, thereby solving the technical problem that the prior art does not consider the role of point source monitoring data in water quality inversion; at the same time, it can provide a training sample data set that can easily enable a neural network model to obtain better training results, thereby solving the technical problems that the training sample data generated in the prior art is not suitable for training the neural network model and the training sample data lacks diversity.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a water quality parameter inversion method, device, storage medium and electronic equipment. Background Art

[0002] At present, the monitoring of the reservoir water environment is mainly based on traditional point source monitoring and manual monitoring. Point source water quality is sampled regularly and then tested by laboratory staff. There are few intelligent monitoring methods, and point source monitoring data is difficult to reflect the spatial distribution of water quality in a large area. Remote sensing monitoring data can make up for the problem of spatial discontinuity of point source monitoring, but it still requires auxiliary verification of point source monitoring data. Therefore, by integrating remote sensing monitoring data and point source monitoring data, accurate inversion of reservoir water quality parameters can be achieved.

[0003] However, in the existing technology, when monitoring water quality based on remote sensing data, the role of point source monitoring data in water quality inversion is not considered, resulting in low accuracy of water quality parameter inversion; at the same time, the impact of the diversity of training samples on water quality inversion is not considered, resulting in the generated training sample data being unsuitable for training neural network models. Summary of the invention

[0004] In view of this, an embodiment of the present invention provides a water quality parameter inversion method, device, storage medium and electronic device to solve the technical problems in the prior art that the water quality parameter inversion accuracy is low and the training sample data lacks diversity, resulting in the generated training sample data being unsuitable for training neural network models.

[0005] The technical solution proposed by the present invention is as follows:

[0006] In a first aspect, an embodiment of the present invention provides a water quality parameter inversion method, which includes: obtaining a first unlabeled sample data set corresponding to a water surface monitoring point, and selecting a second unlabeled sample data set in the first unlabeled sample data set based on a preset selection condition, wherein the first unlabeled sample data set includes a water quality parameter data set and a remote sensing data set; based on a preset addition requirement, adding a first feature data set to the second unlabeled sample data set to obtain a first labeled sample data set, and generating a training sample data set based on the first labeled sample data set; training a preset neural network model based on the training sample data set to obtain a target neural network model; obtaining a third unlabeled sample data set, and inputting the third unlabeled sample data set into the target neural network model to obtain a second feature data set corresponding to the third unlabeled sample data set; based on the second feature data set, processing by a preset regression analysis method to obtain a water quality parameter inversion result.

[0007] In combination with the first aspect, in a possible implementation of the first aspect, the first unlabeled sample data set also includes a fourth unlabeled sample data set that does not meet the preset selection condition; generating a training sample data set based on the first labeled sample data set includes: dividing the first labeled sample data set based on the first feature data set to obtain a first category labeled sample data set and a second category labeled sample data set; training a preset machine learning model based on the first category labeled sample data set and the second category labeled sample data set to obtain a target machine learning model; inputting the fourth unlabeled sample data set into the target machine learning model to obtain a first similarity score set, wherein the first similarity score set represents the similarity between the fourth unlabeled sample data set and the first category labeled sample data set; comparing each first similarity score in the first similarity score set with a preset value, and dividing the fourth unlabeled sample data set according to the comparison result to obtain a first category unlabeled sample data set; processing the first category unlabeled sample data set using the target machine learning model and a preset division method until a second labeled sample data set that meets the preset end condition is obtained; and determining the training sample data set based on the second labeled sample data set.

[0008] In combination with the first aspect, in another possible implementation of the first aspect, the target machine learning model and the preset division method are used to process the first category of unlabeled sample data sets until a second labeled sample data set that meets the preset end condition is obtained, including: dividing the first category of unlabeled sample data sets to obtain a preset first number of first category unlabeled sample sub-data sets; based on each of the first category of unlabeled sample sub-data sets, after processing with the target machine learning model, obtaining a first similarity average score data set; based on the first similarity average score data set, after a preset sorting and selection method, determining a preset second number of second category unlabeled sample sub-data sets in each of the first category of unlabeled sample data sets; in each of the second category of unlabeled sample sub-data sets, Centrally determine a preset third number of third category unlabeled sample sub-datasets; label each of the third category unlabeled sample sub-datasets to obtain a third labeled sample data set; determine whether the preset end condition is met; when the preset end condition is met, repeat the steps of dividing the first category unlabeled sample data set to obtain a preset first number of first category unlabeled sample sub-datasets to label each of the third category unlabeled sample sub-datasets to obtain a third labeled sample data set corresponding to each of the third category unlabeled sample sub-datasets, stop until the preset end condition is met, and obtain the second labeled sample data set, the second labeled sample data set including the third labeled sample data set corresponding to each of the third category unlabeled sample sub-datasets.

[0009] In combination with the first aspect, in another possible implementation of the first aspect, the method further includes: sorting each of the second category unlabeled sample sub-datasets based on the first similarity average score data set to obtain a sorting result; and selecting the preset third number of the third category unlabeled sample sub-datasets in each of the second category unlabeled sample sub-datasets based on the sorting result.

[0010] In combination with the first aspect, in another possible implementation of the first aspect, after the fourth unlabeled sample data set is input into the target machine learning model to obtain the first similarity score set, the method also includes: comparing each first similarity score in the first similarity score set with a preset value, and dividing the fourth unlabeled sample data set according to the comparison result to obtain a second category of unlabeled sample data sets; using the target machine learning model and the preset division method, processing the second category of unlabeled sample data sets until the second labeled sample data set that meets the preset end condition is obtained; based on the second labeled sample data set, determining the training sample data set.

[0011] In combination with the first aspect, in another possible implementation of the first aspect, the preset neural network model is trained based on the training sample data set to obtain the target neural network model, and the method also includes: obtaining a first neuron and a second neuron corresponding to the preset neural network model; based on the first neuron and the second neuron, dividing the preset neural network model using a preset division condition to obtain a first neural network model and a second neural network model.

[0012] In combination with the first aspect, in another possible implementation of the first aspect, training a preset neural network model based on the training sample data set to obtain a target neural network model includes: using the training sample data set to train the first neural network model to obtain a first neural network training model; inputting the training sample data set into the first neural network training model, and calculating a first error value between the first neural network training model and each training sample data in the training sample data set; determining a first training sample sub-data set in the training sample data set based on each of the first error values ​​and a preset error threshold; using the first training sample sub-data set to train the second neural network model to obtain a second neural network training model; obtaining a first model parameter of the first neural network training model and a second model parameter of the second neural network training model; determining a third model parameter of the preset neural network model based on the first model parameter and the second model parameter; training the preset neural network model based on the training sample data set and the third model parameter until the output value of the trained preset neural network model and the second error value of each training sample data in the training sample data set is less than or equal to the preset error threshold, and the training is stopped to obtain the target neural network model.

[0013] In a second aspect, an embodiment of the present invention provides a water quality parameter inversion device, which includes: a data acquisition module, used to acquire a first unlabeled sample data set corresponding to a water surface monitoring point, and select a second unlabeled sample data set in the first unlabeled sample data set based on a preset selection condition, wherein the first unlabeled sample data set includes a water quality parameter data set and a remote sensing data set; an adding and generating module, used to add a first feature data set to the second unlabeled sample data set based on a preset adding requirement to obtain a first labeled sample data set, and generate a training sample data set based on the first labeled sample data set; a training module, used to train a preset neural network model based on the training sample data set to obtain a target neural network model; an acquisition and input module, used to acquire a third unlabeled sample data set, and input the third unlabeled sample data set into the target neural network model to obtain a second feature data set corresponding to the third unlabeled sample data set; a processing module, used to obtain a water quality parameter inversion result based on the second feature data set after processing by a preset regression analysis method.

[0014] In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is used to enable the computer to execute the water quality parameter inversion method as described in the first aspect and any one of the first aspects of the embodiment of the present invention.

[0015] In a fourth aspect, an embodiment of the present invention provides an electronic device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing a computer program, and the processor executing the water quality parameter inversion method as described in the first aspect and any one of the first aspects of the embodiment of the present invention by executing the computer program.

[0016] The technical solution provided by the present invention has the following effects:

[0017] The water quality parameter inversion method provided by the embodiment of the present invention integrates water quality parameter data and remote sensing data, and can perform accurate inversion of water quality parameters based on the water quality parameter data and remote sensing data, thereby solving the technical problem that the prior art does not consider the role of point source monitoring data in water quality inversion; at the same time, it can provide a training sample data set that easily enables the neural network model to obtain better training results, thereby solving the technical problems that the training sample data generated in the prior art is not suitable for training the neural network model and the training sample data lacks diversity. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0019] Figure 1 is a flow chart of a water quality parameter inversion method provided according to an embodiment of the present invention;

[0020] Figure 2 is a flowchart of a multi-remote sensing data inversion method based on statistical regression and deep learning provided according to an embodiment of the present invention;

[0021] Figure 3 is a schematic diagram of a neural network model provided according to an embodiment of the present invention;

[0022] Figure 4 is a structural block diagram of a water quality parameter inversion device provided according to an embodiment of the present invention;

[0023] Figure 5 is a schematic diagram of the structure of a computer-readable storage medium provided according to an embodiment of the present invention;

[0024] Figure 6 It is a schematic diagram of the structure of an electronic device provided according to an embodiment of the present invention. DETAILED DESCRIPTION

[0025] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are 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 those skilled in the art without creative work are within the scope of protection of the present invention.

[0026] It should be noted that the terms "first", "second", etc. in the specification, claims and drawings of the present invention are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0027] The embodiment of the present invention provides a water quality parameter inversion method, such as Figure 1 As shown, the method comprises the following steps:

[0028] Step S1: obtaining a first unlabeled sample data set corresponding to a water surface monitoring point, and selecting a second unlabeled sample data set from the first unlabeled sample data set based on a preset selection condition.

[0029] The first unlabeled sample data set may include a water quality parameter data set and a remote sensing data set corresponding to a plurality of water surface monitoring points.

[0030] In the embodiment of the present invention, the water surface monitoring point is actually a small area on the water surface. Compared with the water surface of the entire reservoir area, the water surface area occupied by the water surface monitoring point is very small.

[0031] Furthermore, the water quality parameter data set may be obtained by sampling the water quality at the water surface monitoring point; the remote sensing data represents the relevant data of the remote sensing image of the water surface monitoring point.

[0032] Specifically, the water quality parameter data set and the remote sensing data set are stored together to form unlabeled sample data, that is, a first unlabeled sample data set.

[0033] Furthermore, a small amount of unlabeled sample data is selected from the plurality of unlabeled sample data, namely, a second unlabeled sample data set.

[0034] Step S2: based on a preset adding requirement, adding a first feature data set to the second unlabeled sample data set to obtain a first labeled sample data set, and generating a training sample data set based on the first labeled sample data set.

[0035] Specifically, the preset adding requirement is: adding corresponding feature data to each unlabeled sample data in the second unlabeled sample data respectively.

[0036] By adding feature data, each unlabeled sample data in the second unlabeled sample data can be labeled, and a small amount of labeled sample data, namely the first labeled sample data set, can be obtained, and multiple training sample data can be generated based on the first labeled sample data set.

[0037] The labeling process may be manual labeling or other methods capable of automatic labeling, which is not specifically limited in the embodiment of the present invention as long as the labeling requirements are met.

[0038] Step S3: training a preset neural network model based on the training sample data set to obtain a target neural network model.

[0039] Specifically, the obtained training sample data set is used to train the preset neural network model, and a trained target neural network model is obtained.

[0040] Step S4: Obtain a third unlabeled sample data set, and input the third unlabeled sample data set into the target neural network model to obtain a second feature data set corresponding to the third unlabeled sample data set.

[0041] Specifically, after obtaining the trained target neural network model, a large amount of unlabeled sample data in the storage area is obtained again, that is, the third unlabeled sample data set, and the third unlabeled sample data set is input into the target neural network model for processing, and feature data corresponding to each unlabeled sample data in the third unlabeled sample data set can be output.

[0042] The third unlabeled sample data, like the first labeled sample data set, also includes a water quality parameter data set and a remote sensing data set corresponding to a plurality of water surface monitoring points.

[0043] Step S5: Based on the second characteristic data set, a water quality parameter inversion result is obtained by processing with a preset regression analysis method.

[0044] Specifically, based on each feature data in the second feature data set, a preset regression analysis method is used to implement the inversion calculation of the water quality parameters of the reservoir area, and the corresponding water quality parameter inversion results are obtained. In the embodiment of the present invention, the preset regression analysis method is not specifically limited, as long as the regression analysis requirements are met.

[0045] The water quality parameter inversion method provided by the embodiment of the present invention integrates water quality parameter data and remote sensing data, and can perform accurate inversion of water quality parameters based on the water quality parameter data and remote sensing data, thereby solving the technical problem that the prior art does not consider the role of point source monitoring data in water quality inversion; at the same time, it can provide a training sample data set that easily enables the neural network model to obtain better training results, thereby solving the technical problems that the training sample data generated in the prior art is not suitable for training the neural network model and the training sample data lacks diversity.

[0046] As an optional implementation manner of an embodiment of the present invention, the above-mentioned step S2 generates a training sample dataset based on the first labeled sample dataset, including: dividing the first labeled sample dataset based on the first feature dataset to obtain a first category labeled sample dataset and a second category labeled sample dataset; training a preset machine learning model based on the first category labeled sample dataset and the second category labeled sample dataset to obtain a target machine learning model; inputting the fourth unlabeled sample dataset into the target machine learning model to obtain a first similarity score set; comparing each first similarity score in the first similarity score set with a preset value, and dividing the fourth unlabeled sample dataset according to the comparison result to obtain a first category unlabeled sample dataset; using the target machine learning model and a preset division method, processing the first category unlabeled sample dataset until a second labeled sample dataset that meets a preset end condition is obtained; and determining the training sample dataset based on the second labeled sample dataset.

[0047] Among them, the first unlabeled sample data set also includes a large amount of unlabeled sample data that has not been selected, that is, a fourth unlabeled sample data set that does not meet the preset selection conditions; the first similarity score set represents the similarity between the fourth unlabeled sample data set and the first category labeled sample data set.

[0048] First, a small amount of labeled first labeled sample data set is divided into a first category and a second category according to a first feature data set. At the same time, the labeled sample data of the first category and the second category are used to train a machine learning model to obtain a trained target machine learning model.

[0049] Secondly, a fourth unlabeled sample data set that is not selected in the first unlabeled sample data set is input into the trained target machine learning model, and the similarity score between each unlabeled sample data in the fourth unlabeled sample data set and each labeled sample data of the first category in the first category labeled sample data set is output, that is, the first similarity score set is output.

[0050] Then, the unlabeled sample data in the fourth unlabeled sample data set corresponding to the first similarity score set being greater than zero is divided into a first category of unlabeled sample data sets.

[0051] Furthermore, the target machine learning model and the preset division method are used to process the first category of unlabeled sample data sets, and a second labeled sample data set that meets the preset end condition is obtained, including: dividing the first category of unlabeled sample data sets to obtain a preset first number of first category unlabeled sample sub-data sets; based on each of the first category of unlabeled sample sub-data sets, after processing with the target machine learning model, obtaining a first similarity average score data set; based on the first similarity average score data set, after a preset sorting selection method, determining a preset second number of second category unlabeled sample sub-data sets in each of the first category of unlabeled sample data sets; determining a preset third number of third category unlabeled sample sub-data sets in each of the second category of unlabeled sample sub-data sets The method comprises the steps of dividing the first category unlabeled sample data set into a plurality of first category unlabeled sample subdatasets, labeling each of the third category unlabeled sample subdatasets to obtain a third labeled sample data set, and judging whether the preset end condition is met; when the preset end condition is met, repeating the steps of dividing the first category unlabeled sample data set into a plurality of first category unlabeled sample subdatasets to label each of the third category unlabeled sample subdatasets to obtain a third labeled sample data set corresponding to each of the third category unlabeled sample subdatasets, and stopping until the preset end condition is met, and obtaining the second labeled sample data set, wherein the second labeled sample data set includes the third labeled sample data set corresponding to each of the third category unlabeled sample subdatasets.

[0052] Specifically, the first category unlabeled sample data set is further divided into a preset first number of unlabeled sample data sets of different categories, that is, a preset first number of first category unlabeled sample sub-data sets are obtained.

[0053] Furthermore, by inputting each first-category unlabeled sample sub-dataset into the target machine learning model, the similarity score of each unlabeled sample sub-data in each first-category unlabeled sample sub-dataset can be calculated, and the average value of the similarity score can be calculated. Furthermore, a corresponding first similarity average score dataset is formed according to the average value of the similarity score corresponding to each first-category unlabeled sample sub-dataset.

[0054] Furthermore, each similarity average score in the first similarity average score data is sorted in ascending order, and a preset second number of unlabeled sample data of the corresponding category with the highest sorting is selected from the first category unlabeled sample data set, that is, the second category unlabeled sample sub-dataset.

[0055] Furthermore, a preset third number of third category unlabeled sample sub-datasets are randomly selected from the second category unlabeled sample sub-datasets, and each unlabeled sample data in the third category unlabeled sample sub-dataset is labeled to obtain a labeled third labeled sample data set.

[0056] Further, it is determined whether a preset end condition is met. If the end condition is met, the third labeled sample data set corresponding to all currently labeled third category unlabeled sample sub-data sets is used, that is, the second labeled sample data set, and forms the training sample data. If the end condition is not met, the first category unlabeled sample data set is divided again to obtain a preset first number of first category unlabeled sample sub-data sets, until the preset end condition is met and the second labeled sample data set is obtained.

[0057] Among them, the preset second number is less than the preset first number; the preset end condition may include the number of training times for the machine learning model reaching a preset training time threshold, and through testing the machine learning model, it is found that the error between the output value of the machine learning model and the actual value is less than a preset error threshold.

[0058] As an optional implementation manner of the embodiment of the present invention, the method further includes: based on the first similarity average score data set, sorting each of the second category unlabeled sample sub-data sets to obtain a sorting result; based on the sorting result, selecting the preset third number of the third category unlabeled sample sub-data sets in each of the second category unlabeled sample sub-data sets.

[0059] Specifically, when determining a preset third number of third category unlabeled sample sub-datasets, all unlabeled sample data in each second category unlabeled sample sub-dataset can also be sorted in ascending order according to the average similarity scores in the first similarity average score data set, and further, the preset third number of third category unlabeled sample sub-datasets with the highest sorting order are selected from the second category unlabeled sample sub-datasets.

[0060] As an optional implementation manner of an embodiment of the present invention, after inputting the fourth unlabeled sample data set into the target machine learning model to obtain the first similarity score set, the method also includes: comparing each first similarity score in the first similarity score set with a preset value, and dividing the fourth unlabeled sample data set according to the comparison result to obtain a second category of unlabeled sample data sets; using the target machine learning model and the preset division method, processing the second category of unlabeled sample data sets until the second labeled sample data set that meets the preset end condition is obtained; based on the second labeled sample data set, determining the training sample data set.

[0061] Specifically, in an embodiment of the present invention, the fourth unlabeled sample data set can be divided to obtain a second category of unlabeled sample data set, and the second category of unlabeled sample data set is processed using the target machine learning model and the preset division method, and a training sample data set is generated based on the processing results.

[0062] The specific implementation process refers to the process of dividing the fourth unlabeled sample data set to obtain the first category unlabeled sample data set, and generating the training sample data set based on the first category unlabeled sample data set, which will not be repeated here.

[0063] As an optional implementation of an embodiment of the present invention, before the above step S3, the method also includes: obtaining a first neuron and a second neuron corresponding to the preset neural network model; based on the first neuron and the second neuron, dividing the preset neural network model using preset division conditions to obtain a first neural network model and a second neural network model.

[0064] Among them, the first neuron represents the neurons of different layers in the upper and lower directions except the neurons of the input layer and the output layer in the preset neural network model; the second neuron represents the neurons of different layers in the front and back directions in the preset neural network model.

[0065] Specifically, the preset neural network model is divided into units of combinations of first neurons and second neurons of different layers that can independently extract data features, and corresponding first neural network models and second neural network models are obtained.

[0066] As an optional implementation of an embodiment of the present invention, the above-mentioned step S3 includes: using the training sample data set to train the first neural network model to obtain a first neural network training model; inputting the training sample data set into the first neural network training model, and calculating the first error value between the first neural network training model and each training sample data in the training sample data set; based on each of the first error values ​​and a preset error threshold, determining a first training sample sub-data set in the training sample data set; using the first training sample sub-data set to train the second neural network model to obtain a second neural network training model; obtaining a first model parameter of the first neural network training model and a second model parameter of the second neural network training model; determining a third model parameter of the preset neural network model based on the first model parameter and the second model parameter; training the preset neural network model based on the training sample data set and the third model parameter, until the output value of the trained preset neural network model and the second error value of each training sample data in the training sample data set are less than or equal to the preset error threshold, and the training is stopped, and the target neural network model is obtained.

[0067] First, a first neural network model is trained using a training sample data set to obtain a trained first neural network training model, and the training sample data set is input into the trained first neural network training model to obtain a first error value of the trained first neural network training model for each training sample data in the training sample data set. Furthermore, a number of training sample data having a first error value greater than a preset error threshold can be determined, namely, a first training sample sub-data set.

[0068] Secondly, the second neural network training model is trained using the first training sample sub-dataset to obtain a trained second neural network training model. Further, the parameters of the preset neural network model at the beginning of training, i.e., the third model parameters, can be determined based on the first model parameters of the trained first neural network training model and the second model parameters of the trained second neural network training model.

[0069] Then, the preset neural network model is trained using the training sample data set and the third model parameters, and it is determined whether the output value of the trained preset neural network model and the second error value of each training sample data in the training sample data set are less than or equal to a preset error threshold. If they are less than or equal to the preset error threshold, the training of the preset neural network model is terminated and a trained target neural network model is obtained; if they are greater than the preset error threshold, the process jumps to the above step S1 and continues to execute.

[0070] In one example, if Figure 2As shown, a multi-remote sensing data inversion method based on statistical regression and deep learning is provided, which is mainly achieved by executing the following steps:

[0071] Step 1: obtaining water quality parameter data of multiple water surface monitoring points in the reservoir area and remote sensing data corresponding to the multiple water surface monitoring points, and storing the water quality parameter data and remote sensing data corresponding to the same water surface monitoring point together to form unlabeled sample data respectively;

[0072] Step 2: selecting a small amount of unlabeled sample data from a plurality of unlabeled sample data, and adding corresponding feature data to the small amount of unlabeled sample data to obtain a small amount of labeled sample data, and generating a plurality of training sample data based on the small amount of labeled sample data;

[0073] Step three, use multiple training sample data to train the neural network model, and at the same time obtain a large amount of unlabeled sample data in the reservoir area again, and input the unlabeled sample data into the trained neural network model respectively. The trained neural network model outputs feature data corresponding to the unlabeled sample data, and uses regression analysis method for a large amount of feature data to obtain the inversion results of water quality parameters in the reservoir area.

[0074] Specifically, when inverting and calculating the water quality parameters of the reservoir area, point source monitoring data is difficult to reflect the spatial distribution of water quality in a large area. Although remote sensing monitoring data can make up for the problem of spatial discontinuity of point source monitoring, it still requires auxiliary verification of point source monitoring data. Therefore, it is proposed to realize the inversion calculation of water quality parameters of the reservoir area by integrating remote sensing monitoring data and point source monitoring data. First, obtain the water quality parameter data of the water surface monitoring point and remote sensing data, and combine them into unlabeled sample data. Among them, the water surface monitoring point is actually a small area on the water surface. Compared with the water surface of the entire reservoir area, the water surface area occupied by the water surface monitoring point is very small. Remote sensing data is the relevant data of the remote sensing image of the water surface monitoring point. The water quality parameter data is obtained by sampling the water quality of the water surface monitoring point. Secondly, a small amount of unlabeled sample data is selected from the unlabeled sample data, and they are labeled, that is, feature data is added to the unlabeled sample data, so as to obtain a small amount of labeled sample data. This labeling process can It can be done manually or through other methods that can perform automatic labeling. After obtaining a small amount of labeled sample data, it is necessary to generate training sample data based on the labeled sample data. The training sample data is used to train the neural network model. The neural network model can realize the fusion processing of water quality parameter data and remote sensing data. Finally, the training sample data is used to train the neural network model, and the re-collected unlabeled sample data is input into the neural network model. The neural network model outputs the corresponding feature data respectively, and then the regression analysis method can be used based on the feature data to realize the inversion calculation of the water quality parameters of the reservoir area.

[0075] Furthermore, generating multiple training sample data based on a small amount of labeled sample data includes the following steps:

[0076] The first step is to divide a small amount of labeled sample data into a first category and a second category according to feature data of the small amount of labeled sample data, and use the labeled sample data of the first category and the second category to train a machine learning model, and use the trained machine learning model for a large amount of unlabeled sample data that is not selected from a plurality of unlabeled sample data, and the trained machine learning model outputs similarity scores between the unlabeled sample data and the labeled sample data of the first category respectively;

[0077] Step 2: According to the similarity scores between the unlabeled sample data and the labeled sample data of the first category respectively output by the machine learning model, the unlabeled sample data with similarity scores greater than zero in a large number of unlabeled sample data that are not selected from the multiple unlabeled sample data are classified into the first category, and the unlabeled sample data with similarity scores less than zero in a large number of unlabeled sample data that are not selected from the multiple unlabeled sample data are classified into the second category;

[0078] Step 3: Further divide the unlabeled sample data of the first category and the second category into different categories of a preset first number, and at the same time, for the unlabeled sample data of each category in the first category, respectively calculate the mean of the similarity score of the unlabeled sample data of each category, and for the unlabeled sample data of each category in the second category, respectively calculate the absolute value of the mean of the similarity score of the unlabeled sample data of each category, and sort the means of multiple similarity scores and the absolute values ​​of the means of multiple similarity scores in order from small to large, and select the corresponding category in the first category of the preset second number or the corresponding category in the second category that is ranked the highest;

[0079] Step 4: randomly selecting a preset third number of unlabeled sample data from the unlabeled sample data of the corresponding category in the first category, or randomly selecting a preset third number of unlabeled sample data from the unlabeled sample data of the corresponding category in the second category, and labeling the selected unlabeled sample data to obtain labeled sample data;

[0080] Step 5: Determine whether the end condition is met. If the end condition is met, use all the currently labeled sample data to form the training sample data and end all steps. If the end condition is not met, jump to the starting step.

[0081] Further, the preset second number is smaller than the preset first number. In this embodiment, the first number is set to be twice the second number.

[0082] Furthermore, the termination conditions include that the number of training times for the machine learning model reaches a preset training time threshold, and through testing the machine learning model, it is found that the error between the output value of the machine learning model and the actual value is less than a preset error threshold.

[0083] Specifically, the inventor took into account that the prior art usually requires obtaining training sample data in advance before training a neural network model. However, these training sample data may not be evenly distributed in their corresponding data space, resulting in a lack of diversity in the training sample data and being unsuitable for training neural network models. In order to further solve this technical problem, the inventor proposed the first to fifth steps to generate training sample data based on the labeled sample data.

[0084] In the first step, the labeled sample data are divided into a first category and a second category according to the difference in feature data of the labeled sample data. A machine learning model is trained by the labeled sample data of the first category and the second category, so that other unlabeled sample data are input into the trained machine learning model. The machine learning model can output similarity scores between other unlabeled sample data and labeled sample data of the first category respectively. The higher the similarity score, the greater the probability that the corresponding other unlabeled sample data belongs to the first category. The machine learning model can distinguish other unlabeled sample data into the first category and the second category, wherein the machine learning model can be a support vector machine. In the second step, based on the similarity scores output by the machine learning model, other unlabeled sample data with similarity scores greater than zero are divided into the first category, and other unlabeled sample data with similarity scores less than zero are divided into the second category. Those unlabeled sample data with similarity scores closer to zero are difficult for the machine learning model to estimate their categories because they are closer to the classification boundary between the first category and the second category. In the third step, for the unlabeled samples in the first category, The first data and the unlabeled sample data in the second category continue to be classified. After the classification, the first category and the second category each contain a first number of different categories. The average of the similarity scores of the unlabeled sample data of each category in the first category is calculated, and the absolute value of the average of the similarity scores of the unlabeled sample data of each category in the second category is calculated, and they are sorted from small to large, and the corresponding category in the first category or the corresponding category in the second category with the highest sorting is selected. In the fourth step, a third number of unlabeled sample data is selected from the unlabeled sample data of the corresponding category in the first category or the corresponding category in the second category for labeling, and these unlabeled sample data are deleted. The labeling process can be performed manually or by other methods that can perform automatic labeling. In the fifth step, if the end condition is met, then all the current labeled sample data are used to form the training sample data. If the end condition is not met, then jump to the first step, use all the current labeled sample data to retrain the machine learning model, and execute subsequent steps. The above method can generate training sample data suitable for training a neural network model. Using these training sample data to train the neural network model can easily obtain better training results.

[0085] Furthermore, for randomly selecting a predetermined third number of unlabeled sample data from the unlabeled sample data of the corresponding category in the first category or the corresponding category in the second category, it also includes first sorting the unlabeled sample data in ascending order of the absolute value of the similarity score, and then selecting a predetermined third number of unlabeled sample data with the highest sorting from the unlabeled sample data of the corresponding category in the first category or the corresponding category in the second category.

[0086] Specifically, the method of randomly selecting unlabeled sample data of the corresponding category in the first category or the corresponding category in the second category can make the training sample data include not only labeled sample data generated by unlabeled sample data close to the classification boundary of the machine learning model, but also labeled sample data generated by unlabeled sample data far from the classification boundary of the machine learning model, thereby ensuring the diversity of the training sample data. In addition, the unlabeled sample data of the corresponding category in the first category or the corresponding category in the second category can also be sorted in ascending order according to the absolute value of the similarity score, and the unlabeled sample data of the corresponding category in the first category or the corresponding category in the second category with the third largest number of sorting can be selected. This makes the training sample data contain more labeled sample data generated by unlabeled sample data close to the classification boundary of the machine learning model, thereby improving the learning effect of the neural network model, but at the same time reducing the diversity of the training sample data. In order to further solve this problem, the unlabeled sample data can be sorted in the corresponding category in the first category or the corresponding category in the second category in ascending order according to the similarity score, and the similarity score range from the minimum similarity score to the maximum similarity score is divided into a third number of similarity score intervals, and an unlabeled sample data is randomly selected from each similarity score interval. In this way, both the learning effect of the neural network model and the diversity of the training data can be guaranteed as much as possible.

[0087] Furthermore, before using multiple training sample data to train the neural network model, the neurons in different layers in the upper and lower directions, except for the neurons in the input layer and the output layer, and the neurons in different layers in the front and back directions of the neural network model are divided into a first neural network model and a second neural network model in units of combinations of neurons in different layers that can independently extract data features.

[0088] Further, combined with Figure 3 The process of obtaining the first neural network model and the second neural network model is described, wherein: Figure 3 A schematic diagram of a neural network model is shown. The neural network model consists of modules 1 to 6 and the connections between different modules. Figure 3The neurons in each module are omitted, wherein module 1 represents the input layer of the neural network model, module 2 represents the output layer of the neural network model, module 3, module 4, module 5, and module 6 respectively represent the combination of neurons in different layers in the neural network model that can independently extract data features. For example, when the neural network model is a convolutional neural network, module 3, module 4, module 5, and module 6 respectively include a convolution layer and a pooling layer. Thus, the first neural network model includes module 1, module 3, module 5, module 2, the connection between module 1 and module 3, the connection between module 3 and module 5, and the connection between module 5 and module 2. The second neural network model includes module 1, module 4, module 6, module 2, the connection between module 1 and module 4, the connection between module 4 and module 6, and the connection between module 6 and module 2. The connection between module 4 and module 5, and the connection between module 3 and module 6 are deleted.

[0089] Furthermore, multiple training sample data are used to train the neural network model, including the following steps:

[0090] The first step is to train the first neural network model through all the training sample data, and input all the training sample data into the trained first neural network model, respectively calculate the error of the trained first neural network model with respect to each training sample data, and further determine a number of training sample data whose error is greater than a preset error threshold;

[0091] Step 2: Use a number of training sample data with errors greater than a preset error threshold to train the second neural network model, set the training start parameters of the neural network model according to the trained parameters of the first neural network model and the trained parameters of the second neural network model, and train the neural network model using all the training sample data;

[0092] The third step is to determine whether the error of the trained neural network model is less than or equal to the preset error threshold. If it is less than or equal to the preset error threshold, the training of the neural network model is terminated. If it is greater than the preset error threshold, jump to the starting step and continue execution.

[0093] Specifically, after obtaining the first neural network model and the second neural network model, the first neural network model and the second neural network model are respectively trained through different training sample data, and the neural network model is trained again based on the training results of the first neural network model and the second neural network model, which can shorten the training time of the neural network model. In the first step, the first neural network model is first trained with all the training sample data, and then all the training sample data are input into the trained first neural network model to find those training sample data whose errors are greater than the error threshold. In the second step, the second neural network model is trained with the training sample data whose errors are greater than the error threshold. After the first neural network model and the second neural network model have been trained, the first neural network model and the second neural network model are trained. The network models have also determined their parameters after training, such as the weights on the connections between different neurons. At this time, the parameters of the network models at the beginning of training can be set according to the parameters after training of the first neural network model and the second neural network model. It should be noted that, for example, the parameters corresponding to the connection between module 4 and module 5, and the connection between module 3 and module 6 cannot be set according to the parameters after training of the first neural network model and the second neural network model. After that, the neural network model is trained with all the training sample data. In the third step, if the error of the trained neural network model is less than or equal to the error threshold, then the training of the neural network model is terminated. Otherwise, then jump to the first step and continue to execute until the error of the trained neural network model is less than or equal to the error threshold.

[0094] The embodiment of the present invention also provides a water quality parameter inversion device, such as Figure 4 As shown, the device comprises:

[0095] The data acquisition module 401 is used to obtain a first unlabeled sample data set corresponding to a water surface monitoring point, and select a second unlabeled sample data set from the first unlabeled sample data set based on a preset selection condition, wherein the first unlabeled sample data set includes a water quality parameter data set and a remote sensing data set; for details, see the relevant description of step S1 in the method embodiment.

[0096] The adding and generating module 402 is used to add the first feature data set to the second unlabeled sample data set based on the preset adding requirements to obtain the first labeled sample data set, and generate the training sample data set based on the first labeled sample data set; for details, see the relevant description of step S2 in the method embodiment.

[0097] The training module 403 is used to train the preset neural network model based on the training sample data set to obtain a target neural network model; for details, please refer to the relevant description of step S3 in the method embodiment.

[0098] The acquisition and input module 404 is used to acquire a third unlabeled sample data set, and input the third unlabeled sample data set into the target neural network model to obtain a second feature data set corresponding to the third unlabeled sample data set; for details, see the relevant description of step S4 in the method embodiment.

[0099] The processing module 405 is used to obtain the water quality parameter inversion result based on the second characteristic data set through a preset regression analysis method; for details, please refer to the relevant description of step S5 in the method embodiment.

[0100] The water quality parameter inversion device provided in the embodiment of the present invention integrates water quality parameter data and remote sensing data, and can perform accurate inversion of water quality parameters based on the water quality parameter data and remote sensing data, thereby solving the technical problem that the prior art does not consider the role of point source monitoring data in water quality inversion; at the same time, it can provide a training sample data set that easily enables the neural network model to obtain better training results, thereby solving the technical problems that the training sample data generated in the prior art is not suitable for training the neural network model and the training sample data lacks diversity.

[0101] As an optional implementation of an embodiment of the present invention, the first unlabeled sample data set also includes a fourth unlabeled sample data set that does not meet the preset selection condition; the adding and generating module includes: a division submodule, which is used to divide the first labeled sample data set based on the first feature data set to obtain a first category labeled sample data set and a second category labeled sample data set; a first training submodule, which is used to train a preset machine learning model based on the first category labeled sample data set and the second category labeled sample data set to obtain a target machine learning model; an input submodule, which is used to input the fourth unlabeled sample data set into the target machine learning model to obtain a first similarity a first similarity score set, wherein the first similarity score set represents the similarity between the fourth unlabeled sample data set and the first category labeled sample data set; a first comparison submodule, used to compare each first similarity score in the first similarity score set with a preset value, and divide the fourth unlabeled sample data set according to the comparison result to obtain a first category unlabeled sample data set; a first processing submodule, used to process the first category unlabeled sample data set using the target machine learning model and a preset division method until a second labeled sample data set that meets a preset end condition is obtained; a first determination submodule, used to determine the training sample data set based on the second labeled sample data set.

[0102] As an optional implementation of the embodiment of the present invention, the first processing submodule includes: a division unit, used to divide the first category unlabeled sample data set to obtain a preset first number of first category unlabeled sample sub-data sets; a processing unit, used to obtain a first similarity average score data set based on each of the first category unlabeled sample sub-data sets through the target machine learning model; a first determination unit, used to determine a preset second number of second category unlabeled sample sub-data sets in each of the first category unlabeled sample data sets through a preset sorting selection method based on the first similarity average score data set; a second determination unit, used to determine a preset third number of third category unlabeled sample sub-data sets in each of the second category unlabeled sample sub-data sets; and a labeling unit, used to sort each The method comprises the steps of: labeling each of the third category unlabeled sample sub-datasets to obtain a third labeled sample data set corresponding to each of the third category unlabeled sample sub-datasets; a judging unit, used to judge whether the preset end condition is met; and a repeating unit, used to repeat the steps of dividing the first category unlabeled sample data set to obtain a preset first number of first category unlabeled sample sub-datasets to labeling each of the third category unlabeled sample sub-datasets to obtain a third labeled sample data set corresponding to each of the third category unlabeled sample sub-datasets when the preset end condition is met, and stopping until the preset end condition is met, and obtaining the second labeled sample data set, wherein the second labeled sample data set includes the third labeled sample data set corresponding to each of the third category unlabeled sample sub-datasets.

[0103] As an optional implementation manner of the embodiment of the present invention, the device also includes: a sorting module, used to sort each of the second category unlabeled sample sub-datasets based on the first similarity average score data set to obtain a sorting result; a selection module, used to select the preset third number of the third category unlabeled sample sub-datasets in each of the second category unlabeled sample sub-datasets based on the sorting result.

[0104] As an optional implementation manner of an embodiment of the present invention, the adding and generating module further includes: a second comparison submodule, used to compare each first similarity score in the first similarity score set with a preset value, and divide the fourth unlabeled sample data set according to the comparison result to obtain a second category unlabeled sample data set; a second processing submodule, used to process the second category unlabeled sample data set using the target machine learning model and a preset division method until the second labeled sample data set that meets the preset end condition is obtained; a second determination submodule, used to determine the training sample data set based on the second labeled sample data set.

[0105] As an optional implementation of an embodiment of the present invention, the device also includes: a neuron acquisition module, used to obtain a first neuron and a second neuron corresponding to the preset neural network model; a division module, used to divide the preset neural network model based on the first neuron and the second neuron using preset division conditions to obtain a first neural network model and a second neural network model.

[0106] As an optional implementation of the embodiment of the present invention, the training module includes: a second training submodule, which is used to train the first neural network model using the training sample data set to obtain a first neural network training model; an input and calculation submodule, which is used to input the training sample data set into the first neural network training model and calculate the first error value between the first neural network training model and each training sample data in the training sample data set; a second determination submodule, which is used to determine the first training sample subdata set in the training sample data set based on each of the first error values ​​and a preset error threshold; a third training submodule, which is used to train the second neural network model using the first training sample subdata set to obtain a second neural network training model; an acquisition submodule, which is used to acquire the first model parameters of the first neural network training model and the second model parameters of the second neural network training model; a third determination submodule, which is used to determine the third model parameters of the preset neural network model based on the first model parameters and the second model parameters; a fourth training submodule, which is used to train the preset neural network model based on the training sample data set and the third model parameters, until the output value of the trained preset neural network model and the second error value of each of the training sample data in the training sample data set are less than or equal to the preset error threshold, and the training is stopped to obtain the target neural network model.

[0107] For a detailed description of the functions of the water quality parameter inversion device provided in the embodiment of the present invention, please refer to the description of the water quality parameter inversion method in the embodiment.

[0108] The embodiment of the present invention also provides a storage medium, such as Figure 5 As shown, a computer program 501 is stored thereon, and when the program is executed by the processor, the steps of the water quality parameter inversion method in the embodiment are implemented. The storage medium may be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory (Flash Memory), a hard disk (HDD) or a solid-state drive (SSD), etc.; the storage medium may also include a combination of types of memories.

[0109] Those skilled in the art can understand that all or part of the processes in the embodiment method can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of each method. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk (HDD) or a solid-state drive (SSD), etc.; the storage medium can also include a combination of types of memories.

[0110] The embodiment of the present invention further provides an electronic device, such as Figure 6 As shown, the electronic device may include a processor 61 and a memory 62, wherein the processor 61 and the memory 62 may be connected via a bus or other means. Figure 6 The example of connecting through bus is taken in the following.

[0111] The processor 61 may be a central processing unit (CPU). The processor 61 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of various chips.

[0112] The memory 62 is a non-transient computer-readable storage medium that can be used to store non-transient software programs, non-transient computer executable programs and modules, such as the corresponding program instructions / modules in the embodiment of the present invention. The processor 61 executes various functional applications and data processing of the processor by running the non-transient software programs, instructions and modules stored in the memory 62, that is, the water quality parameter inversion method in the method embodiment is implemented.

[0113] The memory 62 may include a program storage area and a data storage area, wherein the program storage area may store an application required for operating the device and at least one function; the data storage area may store data created by the processor 61, etc. In addition, the memory 62 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 62 may optionally include a memory remotely arranged relative to the processor 61, and these remote memories may be connected to the processor 61 via a network. Examples of networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0114] The one or more modules are stored in the memory 62, and when executed by the processor 61, the following is performed: Figure 1-3 The water quality parameter inversion method in the illustrated embodiment.

[0115] For details of electronic equipment, please refer to Figures 1 to 3 The corresponding related descriptions and effects in the illustrated embodiments can be understood and will not be repeated here.

[0116] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A water quality parameter inversion method, characterized in that: The method comprises: Acquire a first unlabeled sample data set corresponding to a water surface monitoring point, and select a second unlabeled sample data set from the first unlabeled sample data set based on a preset selection condition, wherein the first unlabeled sample data set includes a water quality parameter data set and a remote sensing data set; Based on the preset adding requirement, adding the first feature data set to the second unlabeled sample data set to obtain a first labeled sample data set, and generating a training sample data set based on the first labeled sample data set; Training a preset neural network model based on the training sample data set to obtain a target neural network model; Acquire a third unlabeled sample data set, and input the third unlabeled sample data set into the target neural network model to obtain a second feature data set corresponding to the third unlabeled sample data set; Based on the second characteristic data set, a water quality parameter inversion result is obtained by processing with a preset regression analysis method; The first unlabeled sample data set further includes a fourth unlabeled sample data set that does not meet the preset selection condition; and generating a training sample data set based on the first labeled sample data set includes: Dividing the first labeled sample data set based on the first feature data set to obtain a first category labeled sample data set and a second category labeled sample data set; Based on the first category labeled sample data set and the second category labeled sample data set, training a preset machine learning model to obtain a target machine learning model; Inputting the fourth unlabeled sample data set into the target machine learning model to obtain a first similarity score set, wherein the first similarity score set represents the similarity between the fourth unlabeled sample data set and the first category labeled sample data set; Comparing each first similarity score in the first similarity score set with a preset value, and dividing the fourth unlabeled sample data set according to the comparison result to obtain a first category unlabeled sample data set; Using the target machine learning model and the preset partitioning method, the first category of unlabeled sample data set is processed until a second labeled sample data set that meets a preset end condition is obtained; Determining the training sample data set based on the second labeled sample data set; Before training a preset neural network model based on the training sample data set to obtain a target neural network model, the method further includes: Acquire a first neuron and a second neuron corresponding to the preset neural network model, wherein the first neuron represents neurons of different layers in the upper and lower directions except for neurons in the input layer and the output layer in the preset neural network model, and the second neuron represents neurons of different layers in the front-back direction in the preset neural network model; Dividing the preset neural network model into units of combinations of the first neurons and the second neurons in different layers capable of independently extracting data features, to obtain a first neural network model and a second neural network model; The preset neural network model is trained based on the training sample data set to obtain a target neural network model, including: Using the training sample data set, training the first neural network model to obtain a first neural network training model; Inputting the training sample data set into the first neural network training model, and calculating a first error value between the first neural network training model and each training sample data in the training sample data set; Based on each of the first error values ​​and a preset error threshold, determining a first training sample sub-dataset in the training sample data set; Using the first training sample sub-dataset, training the second neural network model to obtain a second neural network training model; Acquire a first model parameter of the first neural network training model and a second model parameter of the second neural network training model; Determining a third model parameter of the preset neural network model based on the first model parameter and the second model parameter; Based on the training sample data set and the third model parameter, the preset neural network model is trained until the output value of the trained preset neural network model and the second error value of each training sample data in the training sample data set is less than or equal to the preset error threshold, and the training is stopped to obtain the target neural network model.

2. The method according to claim 1, characterized in that Using the target machine learning model and the preset partitioning method, the first category of unlabeled sample data set is processed until a second labeled sample data set that meets the preset end condition is obtained, including: Dividing the first category of unlabeled sample data sets to obtain a preset first number of first category unlabeled sample sub-data sets; Based on each of the first category unlabeled sample sub-datasets, after being processed by the target machine learning model, a first similarity average score data set is obtained; Based on the first similarity average score data set, a preset second number of second category unlabeled sample sub-data sets are determined in each of the first category unlabeled sample data sets through a preset sorting and selection method; Determine a preset third number of third category unlabeled sample sub-datasets in each of the second category unlabeled sample sub-datasets; Labeling each of the third category unlabeled sample sub-datasets to obtain a third labeled sample data set corresponding to each of the third category unlabeled sample sub-datasets; Determining whether the preset end condition is met; When the preset end condition is met, the steps of dividing the first category unlabeled sample data set to obtain a preset first number of first category unlabeled sample sub-datasets to labeling each of the third category unlabeled sample sub-datasets to obtain a third labeled sample data set corresponding to each of the third category unlabeled sample sub-datasets are repeated until the preset end condition is met, and the second labeled sample data set is obtained, wherein the second labeled sample data set includes the third labeled sample data set corresponding to each of the third category unlabeled sample sub-datasets.

3. The method according to claim 2, characterized in that The method further comprises: Based on the first similarity average score data set, sorting each of the second category unlabeled sample sub-data sets to obtain a sorting result; Based on the sorting result, the preset third number of the third category unlabeled sample sub-datasets are selected from each of the second category unlabeled sample sub-datasets.

4. The method according to claim 1, characterized in that: After inputting the fourth unlabeled sample data set into the target machine learning model to obtain a first similarity score set, the method further includes: Comparing each first similarity score in the first similarity score set with a preset value, and dividing the fourth unlabeled sample data set according to the comparison result to obtain a second category of unlabeled sample data sets; Using the target machine learning model and the preset division method, the second category of unlabeled sample data set is processed until the second labeled sample data set that meets the preset end condition is obtained; Based on the second labeled sample data set, the training sample data set is determined.

5. A water quality parameter inversion device, characterized in that: Used to perform the water quality parameter inversion method according to any one of claims 1 to 4; the device comprises: A data acquisition module, used to acquire a first unlabeled sample data set corresponding to a water surface monitoring point, and select a second unlabeled sample data set from the first unlabeled sample data set based on a preset selection condition, wherein the first unlabeled sample data set includes a water quality parameter data set and a remote sensing data set; An adding and generating module, configured to add a first feature data set to the second unlabeled sample data set based on a preset adding requirement to obtain a first labeled sample data set, and to generate a training sample data set based on the first labeled sample data set; A training module, used to train a preset neural network model based on the training sample data set to obtain a target neural network model; An acquisition and input module, used for acquiring a third unlabeled sample data set, and inputting the third unlabeled sample data set into the target neural network model to obtain a second feature data set corresponding to the third unlabeled sample data set; The processing module is used to obtain the water quality parameter inversion result based on the second characteristic data set through a preset regression analysis method.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is used to enable the computer to execute the water quality parameter inversion method according to any one of claims 1 to 4.

7. An electronic device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores a computer program, and the processor executes the water quality parameter inversion method as described in any one of claims 1 to 4 by executing the computer program.