Flash flood warning method and system based on cross-source interpretable deep learning model
Through the flash flood early warning method based on the cross-source interpretable deep learning model, the correlation between flash flood parameters and environmental parameters is calculated and an explanation content library is constructed, which solves the problem of low efficiency of manual judgment and achieves status matching under various environmental conditions. , improving the accuracy and efficiency of flash flood warnings.
Patent Information
- Application Number
- CN202410735632.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-06-07
AI Technical Summary
In the existing flash flood early warning technology, the data identification stage requires manual judgment, resulting in low efficiency. Especially when the environmental data in different regions and different time periods are very different, it is difficult for staff to be familiar with all environmental conditions, making judgment more difficult.
A flash flood early warning method based on a cross-source interpretable deep learning model is adopted. By receiving input from statistical periods and warning areas, the correlation between flash flood parameters and environmental parameters is calculated, the neural network model is trained, and an explanation content library is constructed to supplement the model. Output results to help staff identify environmental conditions.
By interpreting the content library, similar states can be provided under various environmental conditions, reducing the difficulty of judgment for staff, allowing them to better protect against flash floods and improve early warning efficiency.
Smart Images

Figure CN118334830B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of flash flood warning technology, and in particular to a flash flood warning method and system based on a cross-source interpretable deep learning model. Background Art
[0002] Flash flood warning refers to the timely issuance of alarms in response to possible flash flood disasters by monitoring, predicting and analyzing factors such as precipitation in mountainous areas, topography, soil conditions, etc., to remind areas that may be affected to take appropriate prevention and risk avoidance measures.
[0003] In the existing flash flood warning technology, the data collection stage has been unmanned, but the data identification stage still requires manual judgment, that is, the staff manually identifies the collected environmental data to determine whether there is a risk; due to the great differences in environmental data in different regions and different time periods, it is difficult for the staff to be familiar with all environmental conditions. Once they encounter an unfamiliar situation, they need to report it for help, which is very inefficient. How to assist the staff in identifying the environmental conditions is the technical problem that the technical solution of the present invention wants to solve. Summary of the invention
[0004] The purpose of the present invention is to provide a flash flood warning method and system based on a cross-source interpretable deep learning model to solve the problems raised in the above background technology.
[0005] To achieve the above object, the present invention provides the following technical solutions:
[0006] A flash flood warning method based on a cross-source interpretable deep learning model, the method comprising:
[0007] Receive the statistical period and warning area input by the staff, and obtain the flash flood parameters and environmental parameters in the warning area based on the statistical period; the flash flood parameters at least include the number of flash floods and the amount of flash floods; the environmental parameters at least include the atmospheric temperature, wind speed, soil temperature, vegetation index, terrain parameters and rainfall;
[0008] The flash flood parameters and environmental parameters are counted in the time sequence of the statistical period, and the correlation between the flash flood parameters and environmental parameters is calculated;
[0009] Select and combine environmental parameters according to the correlation, and connect corresponding flash flood parameters as samples of the warning area;
[0010] Count samples from different warning areas, train the neural network model, and simultaneously build an explanation content library; the explanation content library is used to supplement the output results of the neural network model, and the supplemented content is other inputs to obtain the same output;
[0011] When new environmental parameters are monitored, the new environmental parameters are input into the trained neural network model to obtain output results, and the supplementary content of the output results is determined based on the interpretation content library.
[0012] As a further solution of the present invention: the step of counting the flash flood parameters and environmental parameters in the time sequence of the statistical period and calculating the correlation between the flash flood parameters and environmental parameters comprises:
[0013] The flash flood parameters and environmental parameters are counted in the time sequence of the statistical period; the statistical period is used as the row label, and the flash flood parameters and environmental parameters are used as the column label;
[0014] De-dimensionalize the statistical flash flood parameters and environmental parameters;
[0015] Taking the flash flood parameters as the parent sequence and the environmental parameters as the child sequence, the minimum difference between the two poles and the maximum difference between the two poles are calculated based on the dimensionless data;
[0016] The correlation between flash flood parameters and environmental parameters is calculated based on the minimum difference between the two poles and the maximum difference between the two poles.
[0017] As a further solution of the present invention: the process of removing dimension is:
[0018] ; In the formula, is the dimensionless value, is the value before de-dimensioning; is the maximum value under the corresponding index, is the minimum value under the corresponding indicator;
[0019] The calculation process of the minimum difference between the two poles and the maximum difference between the two poles is:
[0020] ;
[0021] ;
[0022] ;
[0023] ;
[0024] In the formula, is the minimum difference between the two poles, is the maximum difference between the two poles, is the kth value in the parent sequence, is the kth value in the ith subsequence, n is the total number of statistical cycles, and m is the total number of subsequences;
[0025] The calculation process of correlation is:
[0026] ;
[0027] ;
[0028] In the formula, for and The correlation coefficient, is the preset resolution factor.
[0029] As a further solution of the present invention: the step of selecting and combining environmental parameters according to the correlation, connecting corresponding flash flood parameters, and using the samples of the warning area as samples includes:
[0030] Statistical correlation, and determine quantity based on correlation;
[0031] Selecting and combining the number of environmental parameters in descending order of relevance;
[0032] Connect the combined environmental parameters and flash flood parameters as samples for the warning area;
[0033] The process of determining the quantity is as follows:
[0034] In the formula, D is a certain quantity, is the jth correlation degree, is the mean of all correlations, is the standard deviation of all correlations; is the preset correction factor.
[0035] As a further solution of the present invention: the steps of counting samples from different warning areas, training a neural network model, and synchronously building an explanation content library include:
[0036] Count samples from different warning areas, build training sets and test sets, and train neural network models;
[0037] Compare flash flood parameters and calculate array similarity of flash flood parameters;
[0038] When the array similarity reaches a preset similarity threshold, the combined environmental parameters corresponding to the two flash flood parameters are queried, and the environmental parameters of one of them are filled into the interpretation content library of the other flash flood parameter; the interpretation content library is initially empty, and the data structure of its data unit is the same as the data structure of the combined environmental parameters.
[0039] As a further solution of the present invention: when a new environmental parameter is monitored, the new environmental parameter is input into the trained neural network model to obtain an output result, and the step of determining the supplementary content of the output result according to the interpretation content library includes:
[0040] When new environmental parameters are monitored, the new environmental parameters are input into the trained neural network model to obtain the predicted flash flood parameters;
[0041] The flash flood parameters in the sample are traversed by the predicted flash flood parameters, and when a match is successful, the explanation content library of the matched flash flood parameters is queried as supplementary content.
[0042] The technical solution of the present invention also provides a flash flood warning system based on a cross-source interpretable deep learning model, the system comprising:
[0043] A parameter acquisition module is used to receive the statistical period and warning area input by the staff, and acquire the flash flood parameters and environmental parameters in the warning area based on the statistical period; the flash flood parameters at least include the number of flash floods and the amount of flash floods; the environmental parameters at least include the atmospheric temperature, wind speed, soil temperature, vegetation index, terrain parameters and rainfall;
[0044] A correlation calculation module is used to count the flash flood parameters and environmental parameters according to the time sequence of the statistical period, and calculate the correlation between the flash flood parameters and the environmental parameters;
[0045] A combination connection module, used for selecting and combining environmental parameters according to the correlation degree, and connecting corresponding flash flood parameters as samples of the warning area;
[0046] The model training module is used to count samples from different warning areas, train the neural network model, and simultaneously build an explanation content library; the explanation content library is used to supplement the output results of the neural network model, and the supplemented content is other inputs to obtain the same output;
[0047] The parameter identification module is used to input the new environmental parameters into the trained neural network model when new environmental parameters are monitored, obtain output results, and determine the supplementary content of the output results based on the interpretation content library.
[0048] As a further solution of the present invention: the association degree calculation module includes:
[0049] The first statistical unit is used to count the flash flood parameters and environmental parameters in the time sequence of the statistical period; wherein the statistical period is used as a row label, and the flash flood parameters and environmental parameters are used as a column label;
[0050] De-dimensionalization unit, used to de-dimensionalize the statistical flash flood parameters and environmental parameters;
[0051] The difference calculation unit is used to use the flash flood parameter as the parent sequence and the environmental parameter as the child sequence, and calculate the minimum difference between the two poles and the maximum difference between the two poles according to the dimensionless data;
[0052] The difference application unit is used to calculate the correlation between flash flood parameters and environmental parameters based on the minimum difference between the two poles and the maximum difference between the two poles.
[0053] As a further solution of the present invention: the combined connection module includes:
[0054] The second statistical unit is used to count the correlation degree and determine the quantity according to the correlation degree;
[0055] A combination execution unit, used for selecting and combining the environmental parameters of the number in descending order of relevance;
[0056] A connection execution unit is used to connect the combined environmental parameters and flash flood parameters as a sample of the warning area;
[0057] The process of determining the quantity is as follows:
[0058] ; In the formula, D is a certain quantity, is the jth correlation degree, is the mean of all correlations, is the standard deviation of all correlations; is the preset correction factor.
[0059] As a further solution of the present invention: the model training module includes:
[0060] The training execution unit is used to count samples from different warning areas, build training sets and test sets, and train the neural network model;
[0061] A similarity calculation unit, used for comparing flash flood parameters and calculating array similarity of flash flood parameters;
[0062] A filling unit is used to query the combined environmental parameters corresponding to the two flash flood parameters when the array similarity reaches a preset similarity threshold, and fill the environmental parameters of one of the two into the interpretation content library of the other flash flood parameter; the interpretation content library is initially empty, and the data structure of its data unit is the same as the data structure of the combined environmental parameters.
[0063] Compared with the prior art, the beneficial effect of the present invention is that in the process of training the neural network model from environmental information to flash flood parameters, the present invention simultaneously constructs an interpretation content library. In the application stage, the acquired environmental parameters are input into the neural network model to obtain output. At this time, with the help of the interpretation content library, other possible inputs for the same output can be obtained, that is, under which other environmental conditions can the same state be achieved, thereby converting the current environment into a variety of similar environments. The more similar environments there are, the more likely the staff are familiar with them, allowing the staff to better perform flash flood protection. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention.
[0065] Figure 1 The flowchart of the flash flood warning method based on the cross-source interpretable deep learning model.
[0066] Figure 2 This is the first sub-process flowchart of the flash flood warning method based on the cross-source interpretable deep learning model.
[0067] Figure 3 This is the second sub-process flowchart of the flash flood warning method based on the cross-source interpretable deep learning model.
[0068] Figure 4 This is the third sub-process flowchart of the flash flood warning method based on the cross-source interpretable deep learning model.
[0069] Figure 5 This is the fourth sub-process flowchart of the flash flood warning method based on the cross-source interpretable deep learning model.
[0070] Figure 6 This is a structural block diagram of the flash flood warning system based on the cross-source interpretable deep learning model. DETAILED DESCRIPTION
[0071] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0072] Figure 1 The flowchart of the flash flood warning method based on the cross-source interpretable deep learning model is as follows. In an embodiment of the present invention, a flash flood warning method based on the cross-source interpretable deep learning model includes:
[0073] Step S100: receiving the statistical period and warning area input by the staff, and obtaining the flash flood parameters and environmental parameters in the warning area based on the statistical period;
[0074] The staff selects the early warning area and the statistical period. The early warning area is generally a certain range in the mountainous area. The statistical period is generally in months or quarters, or even longer. The flash flood parameters and environmental parameters acquired in the early warning area in each statistical period are obtained. Neither the flash flood parameters nor the environmental parameters are unique. The flash flood parameters at least include the number and amount of flash floods. The environmental parameters at least include atmospheric temperature, wind speed, soil temperature, vegetation index, terrain parameters and rainfall. These are two types of data. In the technical solution of the present invention, the flash flood parameters are dependent variables and the environmental parameters are independent variables.
[0075] Step S200: Counting mountain torrent parameters and environmental parameters in the time sequence of the statistical period, and calculating the correlation between the mountain torrent parameters and the environmental parameters;
[0076] Regarding the data of each warning area, the statistical flash flood parameters and environmental parameters are arranged in chronological order of the statistical period. Flash flood parameters are affected by environmental parameters. The environment is the cause of flash floods. There are many types of data in environmental parameters, and their impact on different flash flood parameters is different. That is, the correlation between each data in the flash flood parameters and each data in the environmental parameters is different. For example, the impact of precipitation on flash floods is generally higher.
[0077] Step S300: selecting and combining environmental parameters according to the correlation, and connecting corresponding flash flood parameters as samples of the warning area;
[0078] Environmental parameters are screened by correlation, and limited data is retained as input. The corresponding flash flood parameters are then queried as output. The input and output are connected to obtain multiple samples. These samples are samples from the same warning area in different statistical periods. Since the time span of the statistical period is very long, the number of samples is not large.
[0079] Step S400: Count samples from different warning areas, train a neural network model, and simultaneously build an explanation content library; the explanation content library is used to supplement the output results of the neural network model, and the supplemented content is other inputs to obtain the same output;
[0080] Each warning area corresponds to samples of multiple statistical periods. When there are more warning areas, the number of samples will also increase. However, due to the screening process in step S300, the structure of the data in the sample is different. When training the neural network model, the same array structure is required to represent different samples. One solution is to determine an array based on all types of environmental parameters, and insert the input of each sample into the array, thereby unifying the input of the sample. At this time, the training process can proceed smoothly.
[0081] On this basis, this application also constructs an explanation content library, which is to count all types of inputs that obtain the same output. In the model application stage, based on the output obtained, with the help of the explanation content library, it is possible to know other possible inputs that obtain the same output, that is, under what other environmental conditions, it is possible to achieve the same state. The advantage of doing so is that it allows staff to better protect against flash floods; the principle is that the staff's knowledge is limited. Based on the explanation content library, the current environment can be converted into multiple similar environments. The more similar environments, the greater the possibility that the staff are familiar with them. That is, when there are enough similar environments, there are always some that the staff are familiar with.
[0082] Step S500: when new environmental parameters are monitored, the new environmental parameters are input into the trained neural network model to obtain output results, and the supplementary content of the output results is determined according to the interpretation content library;
[0083] Step S500 is the application stage. When new environmental parameters are monitored, they are input into the trained neural network model to obtain output, which is the predicted flash flood parameters. On this basis, similar environmental parameters are inferred from the predicted flash flood parameters with the help of the interpretation content library, which greatly reduces the difficulty of judgment for staff and enables them to better grasp the current scene.
[0084] Figure 2 The first sub-flow chart of the flash flood warning method based on the cross-source interpretable deep learning model is as follows: the steps of counting flash flood parameters and environmental parameters in the time sequence of the statistical period and calculating the correlation between the flash flood parameters and environmental parameters include:
[0085] Step S201: Counting flash flood parameters and environmental parameters in the time sequence of the statistical period; wherein the statistical period is used as a row label, and the flash flood parameters and environmental parameters are used as a column label;
[0086] The flash flood parameters and environmental parameters are statistically analyzed in the time sequence of the statistical period, generally in the form of representation; in the technical solution of the present invention, rows are used to represent time information, that is, each row corresponds to each statistical period, and columns are used to represent different indicators, that is, each column corresponds to an indicator.
[0087] Step S202: De-dimensionalizing the statistically collected flash flood parameters and environmental parameters;
[0088] Different data have different ranges, which makes processing very difficult. In order to make the processing process more orderly, this application first performs a dimensionless operation on various types of data and converts them into data with a unified format and a unified range.
[0089] Step S203: taking the flash flood parameter as the parent sequence and the environmental parameter as the child sequence, and calculating the minimum difference between the two poles and the maximum difference between the two poles according to the dimensionless data;
[0090] Select any index in the flash flood parameters as the parent sequence (one column), take the various indicators of the environmental parameters as the subsequences (one column), and then calculate the minimum difference between the two poles and the maximum difference between the two poles.
[0091] Step S204: calculating the correlation between the flash flood parameter and the environmental parameter based on the minimum difference between the two poles and the maximum difference between the two poles.
[0092] Taking the minimum difference between the two poles and the maximum difference between the two poles as the benchmark, the correlation between any indicator in the flash flood parameters and each indicator in the environmental parameters is calculated. The greater the correlation, the greater the impact of the indicator in the flash flood parameters on the corresponding indicator in the environmental parameters.
[0093] Specifically, for the specific execution process in the above content, one of the solutions is as follows:
[0094] The process of de-dimensionalization is:
[0095] ; In the formula, is the dimensionless value, is the value before de-dimensioning; is the maximum value under the corresponding index, is the minimum value under the corresponding indicator;
[0096] The calculation process of the minimum difference between the two poles and the maximum difference between the two poles is:
[0097] ;
[0098] ;
[0099] ;
[0100] ;
[0101] In the formula, is the minimum difference between the two poles, is the maximum difference between the two poles, is the kth value in the parent sequence, is the kth value in the ith subsequence, n is the total number of statistical cycles, and m is the total number of subsequences;
[0102] The calculation process of correlation is:
[0103] ;
[0104] ;
[0105] In the formula, for and The correlation coefficient, is the preset resolution factor.
[0106] Regarding the above calculation process, the minimum difference between the two extremes is the minimum value of the pairwise differences between each data in the parent sequence and each data in the child sequence, and the maximum difference between the two extremes is the maximum value of the pairwise differences between each data in the parent sequence and each data in the child sequence; thus, the correlation coefficient between each data in the parent sequence and each data in the child sequence is calculated; then, for each subsequence, the calculated correlation coefficients are accumulated and divided by the number of correlation coefficients to obtain the correlation degree between the parent sequence and the child sequence.
[0107] in, The general value is 0.5.
[0108] Figure 3 The second sub-process flowchart of the flash flood warning method based on the cross-source interpretable deep learning model is as follows: the step of selecting and combining environmental parameters according to the correlation, connecting corresponding flash flood parameters, and using them as samples of the warning area includes:
[0109] Step S301: Count the correlation and determine the quantity according to the correlation;
[0110] Step S302: selecting and combining the number of environmental parameters in descending order of relevance;
[0111] Step S303: connecting the combined environmental parameters and flash flood parameters as a sample of the warning area;
[0112] The process of determining the quantity is as follows:
[0113] ; In the formula, D is a certain quantity, is the jth correlation degree, is the mean of all correlations, is the standard deviation of all correlations; is the preset correction factor.
[0114] The above content provides a specific sample construction process, which statistically calculates the correlation between any indicator in the flash flood parameters and each indicator in the environmental parameters, analyzes the correlation, and determines the number of selections; screens the indicators in the environmental parameters according to the selected number, and retains the selected number in descending order of correlation; connects the retained indicators and flash flood parameters to construct a sample.
[0115] It is worth mentioning that the sample construction process is to establish the correspondence between a subset of environmental parameters and each indicator in flash flood parameters.
[0116] Regarding the process of determining the quantity, the principle is very simple. The larger the mean, the more data with greater correlation. When selecting, you can only select the first few subsequences, and the quantity can be smaller. The larger the standard deviation, the greater the dispersion of the data, so you can select the first few subsequences. Therefore, the quantity is directly proportional to the standard deviation and inversely proportional to the mean.
[0117] Figure 4 The third sub-process flowchart of the flash flood warning method based on the cross-source interpretable deep learning model is as follows: the steps of counting samples from different warning areas, training the neural network model, and synchronously building the explanation content library include:
[0118] Step S401: Count samples from different warning areas, construct training sets and test sets, and train a neural network model;
[0119] Step S402: comparing flash flood parameters and calculating array similarity of flash flood parameters;
[0120] Step S403: When the array similarity reaches a preset similarity threshold, query the combined environmental parameters corresponding to the two flash flood parameters, and fill the environmental parameters of one of them into the interpretation content library of the other flash flood parameter; the interpretation content library is initially empty, and the data structure of its data unit is the same as the data structure of the combined environmental parameters.
[0121] The interpretation content library is the core of the technical solution of the present invention. When the sample construction is completed, the sample set is divided according to a ratio of 9:1 to train the neural network model; on this basis, the output (a certain indicator in the flash flood parameters, the above-mentioned flash flood parameters are a general superordinate concept) is compared, and the outputs corresponding to similar outputs are classified into one category.
[0122] Specifically, the process of classifying outputs corresponding to similar outputs into one category is essentially to compare the samples one by one in turn. When the two compared parties are similar enough, their inputs serve as each other's explanatory content and can be inserted into each other's explanatory content library. By looping the comparison process, the explanatory content library of each type of output can be obtained.
[0123] It should be noted that in order to simplify the number of interpretation content libraries, this application will regard flash flood parameters with high similarity as the same flash flood parameters and share the same interpretation content library.
[0124] In addition, the interpretation content library is used to store environmental parameters, so when building the library, the data structure of the data items needs to be limited.
[0125] Figure 5The fourth sub-process flowchart of the flash flood warning method based on the cross-source interpretable deep learning model is as follows: when a new environmental parameter is monitored, the new environmental parameter is input into the trained neural network model to obtain an output result, and the step of determining the supplementary content of the output result according to the interpretation content library includes:
[0126] Step S501: when new environmental parameters are monitored, the new environmental parameters are input into the trained neural network model to obtain predicted flash flood parameters;
[0127] Step S502: traverse the flash flood parameters in the sample with the predicted flash flood parameters, and when a match is successful, query the interpretation content library of the matched flash flood parameters as supplementary content.
[0128] Step S501 to step S502 is the application stage. When new environmental parameters are monitored, the new environmental parameters are input into the trained neural network model and output as predicted flash flood parameters. With the help of the interpretation content library, the environmental parameters that may appear in the predicted flash flood parameters are reversed as supplementary content. This is the most intuitive explanation of the current environment, which is extremely convenient for staff to grasp the current environmental conditions and then formulate maintenance measures.
[0129] Figure 6 The structure block diagram of a flash flood warning system based on a cross-source interpretable deep learning model is shown in FIG. In an embodiment of the present invention, a flash flood warning system based on a cross-source interpretable deep learning model is provided. The system 10 includes:
[0130] The parameter acquisition module 11 is used to receive the statistical period and warning area input by the staff, and acquire the flash flood parameters and environmental parameters in the warning area based on the statistical period; the flash flood parameters at least include the number of flash floods and the amount of flash floods; the environmental parameters at least include the atmospheric temperature, wind speed, soil temperature, vegetation index, terrain parameters and rainfall;
[0131] A correlation calculation module 12 is used to count the flash flood parameters and environmental parameters according to the time sequence of the statistical period, and calculate the correlation between the flash flood parameters and the environmental parameters;
[0132] A combination connection module 13 is used to select and combine environmental parameters according to the correlation degree, and connect corresponding flash flood parameters as samples of the warning area;
[0133] The model training module 14 is used to count samples from different warning areas, train the neural network model, and simultaneously build an explanation content library; the explanation content library is used to supplement the output results of the neural network model, and the supplemented content is other inputs to obtain the same output;
[0134] The parameter identification module 15 is used to input the new environmental parameters into the trained neural network model when new environmental parameters are monitored, obtain output results, and determine the supplementary content of the output results according to the interpretation content library.
[0135] Furthermore, the correlation calculation module 12 includes:
[0136] The first statistical unit is used to count the flash flood parameters and environmental parameters in the time sequence of the statistical period; wherein the statistical period is used as a row label, and the flash flood parameters and environmental parameters are used as a column label;
[0137] De-dimensionalization unit, used to de-dimensionalize the statistical flash flood parameters and environmental parameters;
[0138] The difference calculation unit is used to use the flash flood parameter as the parent sequence and the environmental parameter as the child sequence, and calculate the minimum difference between the two poles and the maximum difference between the two poles according to the dimensionless data;
[0139] The difference application unit is used to calculate the correlation between flash flood parameters and environmental parameters based on the minimum difference between the two poles and the maximum difference between the two poles.
[0140] Specifically, the combined connection module 13 includes:
[0141] The second statistical unit is used to count the correlation degree and determine the quantity according to the correlation degree;
[0142] A combination execution unit, used for selecting and combining the environmental parameters of the number in descending order of relevance;
[0143] A connection execution unit is used to connect the combined environmental parameters and flash flood parameters as a sample of the warning area;
[0144] The process of determining the quantity is as follows:
[0145] ; In the formula, D is a certain quantity, is the jth correlation degree, is the mean of all correlations, is the standard deviation of all correlations; is the preset correction factor.
[0146] Furthermore, the model training module 14 includes:
[0147] The training execution unit is used to count samples from different warning areas, build training sets and test sets, and train the neural network model;
[0148] A similarity calculation unit, used for comparing flash flood parameters and calculating array similarity of flash flood parameters;
[0149] A filling unit is used to query the combined environmental parameters corresponding to the two flash flood parameters when the array similarity reaches a preset similarity threshold, and fill the environmental parameters of one of the two into the interpretation content library of the other flash flood parameter; the interpretation content library is initially empty, and the data structure of its data unit is the same as the data structure of the combined environmental parameters.
[0150] 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 and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A flash flood warning method based on a cross-source interpretable deep learning model, It is characterized in that The method comprises: Receive the statistical period and warning area input by the staff, and obtain the flash flood parameters and environmental parameters in the warning area based on the statistical period; the flash flood parameters at least include the number of flash floods and the amount of flash floods; the environmental parameters at least include the atmospheric temperature, wind speed, soil temperature, vegetation index, terrain parameters and rainfall; The flash flood parameters and environmental parameters are counted in the time sequence of the statistical period, and the correlation between the flash flood parameters and environmental parameters is calculated; Select and combine environmental parameters according to the correlation, and connect corresponding flash flood parameters as samples of the warning area; Count samples from different warning areas, train the neural network model, and simultaneously build an explanation content library; the explanation content library is used to supplement the output results of the neural network model, and the supplemented content is other inputs to obtain the same output; When new environmental parameters are monitored, the new environmental parameters are input into the trained neural network model to obtain output results, and the supplementary content of the output results is determined according to the interpretation content library; The steps of counting samples from different warning areas, training a neural network model, and simultaneously building an explanation content library include: Count samples from different warning areas, build training sets and test sets, and train neural network models; Compare flash flood parameters and calculate array similarity of flash flood parameters; When the array similarity reaches a preset similarity threshold, the combined environmental parameters corresponding to the two flash flood parameters are queried, and the environmental parameters of one of the two flash flood parameters are filled into the interpretation content library of the other flash flood parameter; the interpretation content library is initially empty, and the data structure of its data unit is the same as the data structure of the combined environmental parameters; When a new environmental parameter is monitored, the new environmental parameter is input into the trained neural network model to obtain an output result, and the step of determining the supplementary content of the output result according to the interpretation content library includes: When new environmental parameters are monitored, the new environmental parameters are input into the trained neural network model to obtain the predicted flash flood parameters; The flash flood parameters in the sample are traversed by the predicted flash flood parameters, and when a match is successful, the explanation content library of the matched flash flood parameters is queried as supplementary content.
2. The flash flood warning method based on the cross-source interpretable deep learning model according to claim 1, It is characterized in that The step of counting the flash flood parameters and the environmental parameters in the time sequence of the statistical period and calculating the correlation between the flash flood parameters and the environmental parameters comprises: The flash flood parameters and environmental parameters are counted in the time sequence of the statistical period; the statistical period is used as the row label, and the flash flood parameters and environmental parameters are used as the column label; De-dimensionalize the statistical flash flood parameters and environmental parameters; Taking the flash flood parameters as the parent sequence and the environmental parameters as the child sequence, the minimum difference between the two poles and the maximum difference between the two poles are calculated based on the dimensionless data; The correlation between flash flood parameters and environmental parameters is calculated based on the minimum difference between the two poles and the maximum difference between the two poles.
3. The flash flood warning method based on the cross-source interpretable deep learning model according to claim 2, It is characterized in that The process of de-dimensionalization is: ; In the formula, is the dimensionless value, is the value before de-dimensioning; is the maximum value under the corresponding index, is the minimum value under the corresponding indicator; The calculation process of the minimum difference between the two poles and the maximum difference between the two poles is: ; ; ; ; In the formula, a is the minimum difference between the two poles, and b is the maximum difference between the two poles. is the kth value in the parent sequence, is the kth value in the ith subsequence, n is the total number of statistical cycles, and m is the total number of subsequences; The calculation process of correlation is: ; ; In the formula, for and The correlation coefficient, is the preset resolution factor.
4. The flash flood warning method based on the cross-source interpretable deep learning model according to claim 1, It is characterized in that The step of selecting and combining environmental parameters according to the correlation and connecting corresponding flash flood parameters as samples of the warning area includes: Statistical correlation, and determine quantity based on correlation; Selecting and combining the number of environmental parameters in descending order of relevance; Connect the combined environmental parameters and flash flood parameters as samples for the warning area; The process of determining the quantity is as follows: ; In the formula, D is a certain quantity, is the jth correlation degree, is the mean of all correlations, is the standard deviation of all correlations; is the preset correction factor.
5. A flash flood warning system based on a cross-source interpretable deep learning model, It is characterized in that The system comprises: A parameter acquisition module is used to receive the statistical period and warning area input by the staff, and acquire the flash flood parameters and environmental parameters in the warning area based on the statistical period; the flash flood parameters at least include the number of flash floods and the amount of flash floods; the environmental parameters at least include the atmospheric temperature, wind speed, soil temperature, vegetation index, terrain parameters and rainfall; A correlation calculation module is used to count the flash flood parameters and environmental parameters according to the time sequence of the statistical period, and calculate the correlation between the flash flood parameters and the environmental parameters; A combination connection module, used for selecting and combining environmental parameters according to the correlation degree, and connecting corresponding flash flood parameters as samples of the warning area; The model training module is used to count samples from different warning areas, train the neural network model, and simultaneously build an explanation content library; the explanation content library is used to supplement the output results of the neural network model, and the supplemented content is other inputs to obtain the same output; The parameter recognition module is used to input the new environmental parameters into the trained neural network model when new environmental parameters are monitored, obtain output results, and determine the supplementary content of the output results according to the interpretation content library; The model training module includes: The training execution unit is used to count samples from different warning areas, build training sets and test sets, and train the neural network model; A similarity calculation unit, used for comparing flash flood parameters and calculating array similarity of flash flood parameters; A filling unit, used for querying the combined environmental parameters corresponding to the two flash flood parameters when the array similarity reaches a preset similarity threshold, and filling the environmental parameters of one of the two flash flood parameters into the interpretation content library of the other flash flood parameter; the interpretation content library is initially empty, and the data structure of its data unit is the same as the data structure of the combined environmental parameters; When new environmental parameters are monitored, the new environmental parameters are input into the trained neural network model to obtain output results, and the supplementary content of the output results is determined according to the interpretation content library, including: When new environmental parameters are monitored, the new environmental parameters are input into the trained neural network model to obtain the predicted flash flood parameters; The flash flood parameters in the sample are traversed by the predicted flash flood parameters, and when a match is successful, the explanation content library of the matched flash flood parameters is queried as supplementary content.
6. The flash flood warning system based on the cross-source interpretable deep learning model according to claim 5, It is characterized in that The association degree calculation module includes: The first statistical unit is used to count the flash flood parameters and environmental parameters in the time sequence of the statistical period; wherein the statistical period is used as a row label, and the flash flood parameters and environmental parameters are used as a column label; De-dimensionalization unit, used to de-dimensionalize the statistical flash flood parameters and environmental parameters; The difference calculation unit is used to use the flash flood parameter as the parent sequence and the environmental parameter as the child sequence, and calculate the minimum difference between the two poles and the maximum difference between the two poles according to the dimensionless data; The difference application unit is used to calculate the correlation between flash flood parameters and environmental parameters based on the minimum difference between the two poles and the maximum difference between the two poles.
7. The flash flood warning system based on the cross-source interpretable deep learning model according to claim 5, It is characterized in that The combined connection module comprises: The second statistical unit is used to count the correlation degree and determine the quantity according to the correlation degree; A combination execution unit, used for selecting and combining the environmental parameters of the number in descending order of relevance; A connection execution unit is used to connect the combined environmental parameters and flash flood parameters as a sample of the warning area; The process of determining the quantity is as follows: ; In the formula, D is a certain quantity, is the jth correlation degree, is the mean of all correlations, is the standard deviation of all correlations; is the preset correction factor.
Citation Information
Patent Citations
Text data detection method, device and equipment based on machine learning
CN113761523A
Information processing method, information processing device and storage medium
CN116090556A
Water quality parameter inversion method and device, storage medium and electronic equipment
CN116701931A
Defective finance identification method and system based on interpretable machine learning, and readable storage medium
CN117522609A
Interpretable machine learning for large scale data
CN117616431A
Cited By
Mountain torrent geological disaster chain early warning method and system based on multi-source precursor fusion
CN122888765A
