Unmanned underwater vehicle cluster evaluation index system construction method with causal constraint

By using the adaptive Apriori algorithm with causal constraints in the unmanned underwater vehicle cluster evaluation index system, the problems of inaccurate index correlation response and over-screening in the existing technology are solved, and a more efficient index system construction and association rule mining are achieved. .

CN118535879APending Publication Date: 2024-08-23HARBIN UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410710472.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-03
Publication Date
2024-08-23

Smart Images

  • Figure CN118535879A
    Figure CN118535879A
Patent Text Reader

Abstract

The invention aims to solve the problem that whether various indexes in an unmanned underwater vehicle cluster system are correlated or not, and discloses an unmanned underwater vehicle cluster evaluation index system construction method with causal constraints, which specifically comprises the following steps: firstly, obtaining evaluation indexes and evaluation data, performing equal-depth division on the input indexes, and obtaining the evaluation data; the method comprises the following steps of: performing normal distribution division on output indexes, calculating a standard deviation and a mean value of each group of output indexes, dividing output data into seven classes, mining association rules by using a self-adaptive Apriori algorithm with causal constraints, and eliminating null things from the mined association rules according to full confidence and cosine measurement so as to prevent the mining rules from being influenced by the null things; then, calculating the improvement degree of the association rules, grouping the association rules according to the improvement degree, calculating a frequent two-item set, supplementing the association rules, and finally, analyzing the association relationship among the indexes; according to the method, the operation efficiency of the algorithm is remarkably improved, and meanwhile important relations among indexes are reserved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of unmanned underwater vehicle (UUV) clusters and the technical field of association rule mining, and in particular to a method for constructing an evaluation index system for an unmanned underwater vehicle cluster with causal constraints. Background Art

[0002] With the development of UUV technology, people pay more and more attention to its application. It has important applications in marine environment monitoring, marine resource exploration, seabed topography mapping, deep-sea oil drilling equipment monitoring, underwater facility emergency and accident rescue, marine water quality and ecological element monitoring, hydrological and meteorological observation, and underwater cultural relics archaeology. The coverage and endurance of a single UUV are limited, and it cannot meet the needs of large-scale and long-term tasks. When a single UUV fails or is damaged, it may affect the progress of the entire mission. In addition, a single UUV cannot complete complex multi-tasks or tasks that require collaborative work. Compared with a single UUV, a UUV cluster has great advantages. The UUV cluster system can perform multiple tasks at the same time, improve the efficiency and coverage of the task. Through the collaboration and communication between multiple UUVs, it can complete the work and tasks that require collaboration and improve the ability to perform tasks. There is a mutual connection between the various indicators in the UUV cluster system. However, the existing indicator evaluation system method cannot accurately and reasonably reflect the correlation between indicators. At the same time, the UUV cluster system simulation generates a large amount of simulation data. How to use simulation data to establish a UUV cluster evaluation indicator system is the focus of current research.

[0003] The paper "Association Rule Analysis Based on Apriori Algorithm" uses a fixed value to set the minimum support and minimum confidence, which is subjective and leads to unreasonable values ​​of the minimum support and minimum confidence. The paper "Improvement and Application of Association Rule Apriori Algorithm" does not consider the impact of zero things on association rules in the algorithm of mining association rules, which will lead to the possibility that zero things may have a certain impact on the final mining rules. Patent CN 110874413 B "A Method for Establishing an Effectiveness Evaluation Index System for Air Defense Multi-Weapon System Based on Association Rule Mining" only calculates frequent 2-item sets when calculating frequent item sets, and does not calculate the final frequent item sets, which will ignore the correlation between some indicators. When setting the minimum support and minimum confidence, the fixed values ​​are artificially selected, which is subjective. Patent CN 103678541 A "A Method for Mining Association Rules of Translation Capability Data" does not consider the impact of zero things on the final mining rules when mining association rules, nor does it use the lifting degree to further screen the association rules. Patent CN 103678540 A "A deep mining method for translation needs" does not consider supplementing and correcting the mined association rules in the final mined association rules, which may ignore some important association rules. Summary of the invention

[0004] The purpose of the present invention is to provide a method for constructing an evaluation index system for unmanned underwater vehicles clusters with causal constraints, which can effectively analyze various correlations between UUV cluster evaluation indicators.

[0005] To achieve the above purpose, the present invention proposes the following specific technical solutions: design a method for constructing an evaluation index system for unmanned underwater vehicle clusters with causal constraints, first obtain evaluation indicators and evaluation data, divide the input indicators into equal depths, and divide the output indicators into normal distributions, then use the adaptive Apriori algorithm with causal constraints to mine association rules, remove zero things from the mined association rules based on full confidence and cosine measurement, then calculate the association rule lift and group the association rules according to the lift, calculate frequent binomial sets, supplement the association rules, and correct the grouping results, and finally determine the final index system. Specifically, it includes the following steps:

[0006] Step 1:

[0007] Obtain evaluation indicators and evaluation data, select the evaluation indicators to be analyzed, and discretize the continuous data; the UUV cluster evaluation indicator system uses input and output as indicators, and the input data is divided into three categories with equal depth. The output data is divided according to the normal distribution, and the standard deviation δ and mean μ of each group of output indicators are calculated. (-3δ)+μ, (-2δ)+μ, (-δ)+μ, δ+μ, 2δ+μ, 3δ+μ are taken as the dividing points to divide the output data into (-∞, -3δ+μ), [-3δ+μ, -2δ+μ), [-2δ+μ, -δ+μ), [-δ+μ, δ+μ), [δ+μ, 2δ+μ), [2δ+μ, 3δ+μ), [3δ+μ, +∞) intervals;

[0008] Step 2:

[0009] Use the adaptive Apriori algorithm with causal constraints to generate frequent item sets and mine association rules between indicators:

[0010] Step 2.1:

[0011] Causal constraint means that both input and output indicators can be causes, output indicators can be results, but input indicators cannot be results; the adaptive Apriori algorithm improves the minimum support and minimum confidence on the basis of the traditional Apriori algorithm. The minimum support and minimum confidence of the traditional Apriori algorithm are fixed values ​​taken by humans, which have the subjectivity of artificial values. The minimum support Min_support of the adaptive Apriori algorithm is the average value of the support of all itemsets in the frequent itemset, and the minimum confidence Min_confidence is also the average value of the confidence of all itemsets in the frequent itemset. Therefore, it can avoid the subjectivity of artificial values ​​and the values ​​are more reasonable and objective.

[0012]

[0013] Among them, M γ is the γth item set, r is the number of item sets in the frequent item set, Support(M γ ) is the item set M γ The support of is the sum of the supports of r itemsets in the frequent itemset;

[0014]

[0015] Among them, s is the number of itemsets in the frequent itemset, t is the number of association rules generated by s itemsets, and N β →N α Represents the association rule between index α and index β, Confidence(N β →N α ) is the association rule Nβ →N α The confidence level, is the sum of the confidences of t association rules generated by s itemsets in the frequent itemset, α∈{1,2,…,s}, β∈{1,2,…,s}, and α≠β;

[0016] Step 2.2:

[0017] Generate candidate 1-item sets according to the input indicators divided with equal depth and the discretized output indicators, calculate the support of each item in the candidate 1-item set, remove items with support less than the adaptive minimum support threshold according to the adaptive minimum support threshold, and generate frequent 1-item sets;

[0018] Step 2.3:

[0019] The items in the frequent x-item set are combined to generate a candidate (x+1)-item set. The support of each item in the candidate (x+1)-item set is calculated. According to the adaptive minimum support threshold of the item set, the items with support less than the adaptive minimum support are removed to generate a frequent (x+1)-item set, x=1,2,…,n-1;

[0020] Step 2.4:

[0021] Repeat step 2.3 until the generated frequent n-item set has only one item set and the loop ends. At this time, the frequent n-item set is the final item set. The frequent n-item set is X = {I1, I2, ..., I n};

[0022] Step 3:

[0023] Calculate the confidence of the itemset in the frequent n-itemset, and filter the evaluation indicator association rules whose confidence is greater than the adaptive minimum confidence threshold of the itemset, and remove the association rules whose input indicators are the results:

[0024] Step 3.1:

[0025] Itemset A j and A i They are evaluation indicators I j To I i The premise and conclusion of the strong association rule, and By A j →A i Indicates I j and I i The relationship between them;

[0026] Step 3.2:

[0027] After obtaining the frequent n-item sets, we get the evaluation index I j And evaluation index Ii Strong association rule A j →A i , i∈{1,2,…,n}, j∈{1,2,…,n}, and i≠j;

[0028] Step 3.3:

[0029] Determine A j →A i The confidence level is expressed by the following formula A j →A i Confidence of:

[0030]

[0031] Among them, Confidence (A j →A i ) is A j →A i Confidence, Support(A j ) is the item set A j Support(A j ∪A i ) is the included item set A j ∪A i The support degree, P(A i |A j ) is with A j Itemset A appears in all frequent item sets i The conditional probability of

[0032] Step 3.4:

[0033] According to the adaptive minimum confidence threshold of the item set, the association rules with confidence greater than the adaptive minimum confidence are screened out, and the association rules whose input indicators are results are eliminated;

[0034] Step 4:

[0035] For the association rules mined in step 3, zero things are eliminated based on the total confidence and cosine metric, so that the final association rules are not affected by zero things;

[0036] Step 4.1:

[0037] Calculate A j →A i The total confidence level is expressed by the following formula A j →A i The total confidence level of :

[0038]

[0039] Among them, X is a frequent n-item set, Support(X) is the support of the frequent n-item set, is the maximum (single) item support of all items in X;

[0040] Step 4.2:

[0041] Calculate A j →A i The cosine metric of A is expressed by the following formula j →A i The cosine metric of :

[0042]

[0043] Among them, Support(A j ∪A i ) is the included item set A j ∪A i Support(A i ) is the item set A i Support(A j ) is the item set A j support level;

[0044] Step 4.3:

[0045] Filter out the association rules with total confidence greater than 0.5 and cosine metric greater than 0.5, and discard the rest;

[0046] Step 5:

[0047] Based on step 4, calculate the lift of each association rule in the frequent n-item set and group the association rules according to the lift:

[0048] Step 5.1:

[0049] Calculate A j →A i The degree of improvement is expressed by the following formula A j →A i The degree of improvement:

[0050]

[0051] Among them, Confidence (A j →A i ) is A j →A i Confidence, Support(A j ) is the item set A j support level;

[0052] Step 5.2:

[0053] Eliminate association rules with a lift less than 1, retain association rules with a lift greater than 1, and arrange the retained association rules in descending order according to the lift. Use one-third of the difference between the maximum lift Max_lift and the minimum lift Min_lift as the dividing interval to divide them into three groups, namely strong, medium, and weak. The strong lift is used as the center of the grouping. The interval of weak lift is [Min_lift, Min_lift+Δ_lift], the interval of medium lift is (Min_lift+Δ_lift, Min_lift+2×Δ_lift], and the interval of strong lift is (Min_lift+2×Δ_lift, Min_lift+3×Δ_lift];

[0054] Among them, Max_lift is the maximum lift in the association rule, and Min_lift is the minimum lift in the association rule; Step 6:

[0055] Compute frequent 2-itemset supplementary association rules and correct the grouping results:

[0056] Step 6.1:

[0057] According to the actual situation, the minimum support is set to a fixed value, and the minimum confidence is taken as the average of the confidences of all itemsets in the frequent itemset. The candidate 1-itemset is obtained by step 2.2, and the support of each item in the candidate 1-itemset is calculated. According to the minimum support threshold, the items with support less than the minimum support are eliminated to generate a frequent 1-itemset.

[0058] Step 6.2:

[0059] The items in the frequent 1-item set are combined to generate candidate 2-item sets, the support of each item in the candidate 2-item set is calculated, and the items with support less than the minimum support are eliminated according to the minimum support threshold to generate frequent 2-item sets;

[0060] Step 6.3:

[0061] Calculate the confidence of the itemset in the frequent 2-itemset, and filter the evaluation index association rules whose confidence is greater than the adaptive minimum confidence threshold of the itemset;

[0062] Step 6.4:

[0063] Calculate the total confidence and cosine measure of the association rules mined in step 6.3, and eliminate the association rules with total confidence less than 0.5 and cosine measure less than 0.5, that is, eliminate zero things;

[0064] Step 6.5:

[0065] Based on step 6.4, calculate the lift of the association rules, filter out the association rules with lift greater than 1, sort the remaining association rules in descending order according to lift, and divide them into three groups, namely strong, medium, and weak, with one-third of the difference between the maximum lift Max_lift and the minimum lift Min_lift as the dividing interval;

[0066] Step 6.6:

[0067] Taking the central grouping association rule of frequent n-itemsets as the center, the strong, medium and weak frequent 2-itemsets are distributed around the central group in order. The frequent 2-itemsets are supplemented based on the highest principle, that is, when different intervals of the same indicator are in different groups, they are merged into the highest group.

[0068] The present invention has the following beneficial effects:

[0069] (1) The method of the present invention adds causal constraints to rule mining. Both input and output can be causes, but input cannot be effects. Output can be effects. Minimum support and minimum confidence are hierarchically and adaptively adjusted. The minimum support of each frequent item set is the mean support of the frequent item set, and the minimum confidence is the mean of all confidences. This achieves adaptive adjustment of minimum support and minimum confidence, and avoids the subjectivity of artificial value selection.

[0070] (2) The method of the present invention divides the input index into equal depths, divides the continuous output index according to the normal distribution, calculates the mean and standard deviation of the output data, and divides the output data according to the multiple of the standard deviation, which is more in line with the actual situation;

[0071] (3) When constructing the index system, the method of the present invention determines the grouping according to the final rule mining results, and then determines the strength of the relationship between each two items according to the frequent 2-item sets, and hierarchically represents the strong, medium, and weak relationships of the results by the lift degree, so as to avoid the omission of the relationship between indicators due to the small number of dependent indicators and the subjectivity of artificial grouping;

[0072] (4) The total number of frequent item sets generated by the method of the present invention during the operation process is 12 items, while when the traditional Apriori algorithm sets the minimum support to 0.3, the total number of frequent item sets it generates is 192 items. When the minimum support is 0.5, although the total number of frequent item sets it generates is 6 items, it will over-screen the evaluation index set, causing the final result to ignore some association rules. Therefore, the present invention significantly improves the operating efficiency of the algorithm while retaining the important connections between the indicators. BRIEF DESCRIPTION OF THE DRAWINGS

[0073] Figure 1 The main flow chart of a method for constructing an evaluation index system for unmanned underwater vehicle swarms with causal constraints;

[0074] Figure 2 Preliminary network relationship diagram for UUV cluster evaluation indicators;

[0075] Figure 3 Final network diagram for UUV cluster evaluation metrics. DETAILED DESCRIPTION

[0076] Figure 1 The main flow chart of a method for constructing an evaluation index system of an unmanned underwater vehicle cluster with causal constraints of the present invention includes the following steps:

[0077] Step 1:

[0078] Obtain evaluation indicators and evaluation data, select the evaluation indicators to be analyzed, and discretize the continuous data; the UUV cluster evaluation indicator system uses input and output as indicators, and the input data is divided into three categories with equal depth. The output data is divided according to the normal distribution, and the standard deviation δ and mean μ of each group of output indicators are calculated. (-3δ)+μ, (-2δ)+μ, (-δ)+μ, δ+μ, 2δ+μ, 3δ+μ are taken as the dividing points to divide the output data into (-∞, -3δ+μ), [-3δ+μ, -2δ+μ), [-2δ+μ, -δ+μ), [-δ+μ, δ+μ), [δ+μ, 2δ+μ), [2δ+μ, 3δ+μ), [3δ+μ, +∞) intervals;

[0079] The input data includes the UUV's cabin entry success rate, the UUV's cabin entry failure limit, the UUV's cabin entry time, and the UUV's cabin exit time. The UUV's cabin entry success rate is 50%, 70%, and 90% according to the equal depth division, and the failure limit is 1 time, 3 times, and 5 times according to the equal depth division. The UUV cabin entry time includes cabin entry time 1 and cabin entry time 2. The cabin entry time 1 is 16 minutes, 20 minutes, and 24 minutes according to the equal depth division, and the cabin entry time 2 is 8 minutes, 10 minutes, and 12 minutes according to the equal depth division. The UUV's cabin exit time is 8 minutes, 10 minutes, and 12 minutes according to the equal depth division.

[0080] The output data includes the duration of UUV, the average number of UUVs entering the cabin, the number of UUVs lost due to failed entry, the number of UUVs lost due to lack of power, the number of empty windows, the total empty window time, and the average empty window time;

[0081] a, b, c represent the UUV entry success rate of 50%, 70%, and 90% respectively; d, e, and f represent the UUV entry failure limit of 1, 3, and 5 respectively; g, h, and k represent the UUV entry time 1 and entry time 2 of 16 minutes and 8 minutes, 20 minutes and 10 minutes, 24 minutes and 12 minutes respectively; m, n, and p represent the UUV exit time of 8 minutes, 10 minutes, and 12 minutes respectively; A represents the UUV The duration is within [-δ+μ,δ+μ), B means the duration of UUV is within [δ+μ,2δ+μ), C means the average number of UUV entry times is within [-δ+μ,δ+μ), D means the average number of UUV entry times is within [δ+μ,2δ+μ), E means the number of empty windows is within [-2δ+μ,-δ+μ), F means the number of empty windows is within [-δ+μ,δ+μ), G means the number of empty windows is within [δ+μ,2δ+μ), H = indicates that the total window time is within [-2δ+μ,-δ+μ), L indicates that the total window time is within [-δ+μ,δ+μ), M indicates that the total window time is within [δ+μ,2δ+μ), N indicates that the average window time is within [-2δ+μ,-δ+μ), Q indicates that the average window time is within [-δ+μ,δ+μ), R indicates that the average window time is within [δ+μ,2δ+μ), S indicates that the number of UUVs lost due to failure to enter the cabin is within [-δ+μ,δ+μ ), T means the number of UUVs lost due to failure to enter the cabin is within [δ+μ, 2δ+μ), U means the number of UUVs lost due to failure to enter the cabin is within [2δ+μ, 3δ+μ), X means the number of UUVs lost due to power failure is within [-2δ+μ, -δ+μ), Y means the number of UUVs lost due to power failure is within [-δ+μ, δ+μ), Z means the number of UUVs lost due to power failure is within [δ+μ, 2δ+μ), Table 1 shows some representative input data and output data;

[0082] Table 1 Part of input data and output data

[0083]

[0084]

[0085] Step 2:

[0086] Use the adaptive Apriori algorithm with causal constraints to generate frequent item sets and mine association rules between indicators:

[0087] Step 2.1:

[0088] Causal constraint means that both input and output indicators can be causes, output indicators can be results, but input indicators cannot be results; the adaptive Apriori algorithm improves the minimum support and minimum confidence on the basis of the traditional Apriori algorithm. The minimum support and minimum confidence of the traditional Apriori algorithm are fixed values ​​taken by humans, which have the subjectivity of artificial values. The minimum support Min_support of the adaptive Apriori algorithm is the average value of the support of all itemsets in the frequent itemset, and the minimum confidence Min_confidence is also the average value of the confidence of all itemsets in the frequent itemset. Therefore, it can avoid the subjectivity of artificial values ​​and the values ​​are more reasonable and objective.

[0089]

[0090] Among them, M γ is the γth item set, r is the number of item sets in the frequent item set, Support(M γ ) is the item set M γ The support of is the sum of the supports of r itemsets in the frequent itemset;

[0091]

[0092] Among them, s is the number of itemsets in the frequent itemset, t is the number of association rules generated by s itemsets, and N β →N α Represents the association rule between index α and index β, Confidence(N β →N α ) is the association rule N β →N α The confidence level, is the sum of the confidences of t association rules generated by s itemsets in the frequent itemset, α∈{1,2,…,s}, β∈{1,2,…,s}, and α≠β;

[0093] Step 2.2:

[0094] Generate candidate 1-item sets according to the input indicators divided with equal depth and the discretized output indicators, calculate the support of each item in the candidate 1-item set, remove items with support less than the adaptive minimum support threshold according to the adaptive minimum support threshold, and generate frequent 1-item sets;

[0095] Step 2.3:

[0096] The items in the frequent x-item set are combined to generate a candidate (x+1)-item set. The support of each item in the candidate (x+1)-item set is calculated. According to the adaptive minimum support threshold of the item set, the items with support less than the adaptive minimum support are removed to generate a frequent (x+1)-item set, x=1,2,…,n-1;

[0097] Step 2.4:

[0098] Repeat step 2.3 until the generated frequent n-item set has only one item set and the loop ends. At this time, the frequent n-item set is the final item set. The frequent n-item set is X = {I1, I2, ..., I n};

[0099] Step 3:

[0100] Calculate the confidence of the itemset in the frequent n-itemset, and filter the evaluation indicator association rules whose confidence is greater than the adaptive minimum confidence threshold of the itemset, and remove the association rules whose input indicators are the results:

[0101] Step 3.1:

[0102] Itemset A j and A i They are evaluation indicators I j To I i The premise and conclusion of the strong association rule, and By A j →A i Indicates I j and I i The relationship between them;

[0103] Step 3.2:

[0104] After obtaining the frequent n-item sets, we get the evaluation index I j And evaluation index I i Strong association rule A j →A i , i∈{1,2,…,n}, j∈{1,2,…,n}, and i≠j;

[0105] Step 3.3:

[0106] Determine A j →A i The confidence level is expressed by the following formula A j →A i Confidence of:

[0107]

[0108] Among them, Confidence (A j→A i ) is A j →A i Confidence, Support(A j ) is the item set A j Support(A j ∪A i ) is the included item set A j ∪A i The support degree of P(A i |A j ) is with A j Itemset A appears in all frequent item sets i The conditional probability of

[0109] Step 3.4:

[0110] According to the adaptive minimum confidence threshold of the item set, the association rules with confidence greater than the adaptive minimum confidence are screened out, and the association rules whose input indicators are results are eliminated;

[0111] Step 4:

[0112] For the association rules mined in step 3, zero things are eliminated based on the total confidence and cosine metric, so that the final association rules are not affected by zero things;

[0113] Step 4.1:

[0114] Calculate A j →A i The total confidence level is expressed by the following formula A j →A i The total confidence level of :

[0115]

[0116] Among them, X is a frequent n-item set, Support(X) is the support of the frequent n-item set, is the maximum (single) item support of all items in X;

[0117] Step 4.2:

[0118] Calculate A j →A i The cosine metric of A is expressed by the following formula j →A i The cosine metric of :

[0119]

[0120] Among them, Support(A j ∪A i ) is the included item set A j ∪Ai Support(A i ) is the item set A i Support(A j ) is the item set A j support level;

[0121] Step 4.3:

[0122] Filter out the association rules with total confidence greater than 0.5 and cosine metric greater than 0.5, and discard the rest;

[0123] Step 5:

[0124] Based on step 4, calculate the lift of each association rule in the frequent n-item set and group the association rules according to the lift:

[0125] Step 5.1:

[0126] Calculate A j →A i The degree of improvement is expressed by the following formula A j →A i The degree of improvement:

[0127]

[0128] Among them, Confidence (A j →A i ) is A j →A i Confidence, Support(A j ) is the item set A j support level;

[0129] Step 5.2:

[0130] Eliminate association rules with a lift less than 1, retain association rules with a lift greater than 1, and arrange the retained association rules in descending order according to the lift. Use one-third of the difference between the maximum lift Max_lift and the minimum lift Min_lift as the dividing interval to divide them into three groups, namely strong, medium, and weak. The strong lift is used as the center of the grouping. The interval of weak lift is [Min_lift, Min_lift+Δ_lift], the interval of medium lift is (Min_lift+Δ_lift, Min_lift+2×Δ_lift], and the interval of strong lift is (Min_lift+2×Δ_lift, Min_lift+3×Δ_lift];

[0131]

[0132] Among them, Max_lift is the maximum lift in the association rule, and Min_lift is the minimum lift in the association rule;

[0133] In this example, the frequent n-item set is a frequent 3-item set, that is, the frequent 3-item set X = {A, Q, S} is the final frequent item set. Table 2 is the calculation result of the final association rule of the frequent 3-item set. According to the calculation results of Table 2, the central grouping association rules with strong lifting degree are A, S → Q and Q → A, S;

[0134] Table 2 Calculation results of frequent 3-itemset final association rules

[0135]

[0136] Step 6:

[0137] Compute frequent 2-itemset supplementary association rules and correct the grouping results:

[0138] Step 6.1:

[0139] Set the minimum support to 0.33, and the minimum confidence to be the average of the confidences of all itemsets in the frequent itemset. Obtain the candidate 1-itemset by step 2.2, calculate the support of each item in the candidate 1-itemset, and remove items with support less than the minimum support according to the minimum support threshold to generate a frequent 1-itemset.

[0140] Step 6.2:

[0141] The items in the frequent 1-item set are combined to generate candidate 2-item sets, the support of each item in the candidate 2-item set is calculated, and the items with support less than the minimum support are eliminated according to the minimum support threshold to generate frequent 2-item sets;

[0142] Step 6.3:

[0143] Calculate the confidence of the itemset in the frequent 2-itemset, and filter the evaluation index association rules whose confidence is greater than the adaptive minimum confidence threshold of the itemset;

[0144] Step 6.4:

[0145] Calculate the total confidence and cosine measure of the association rules mined in step 6.3, and eliminate the association rules with total confidence less than 0.5 and cosine measure less than 0.5, that is, eliminate zero things;

[0146] Step 6.5:

[0147] Based on step 6.4, the lift of the association rules is calculated, and the association rules with lift greater than 1 are screened out. The retained association rules are arranged in descending order according to the lift, and divided into three groups, namely strong, medium, and weak, with one-third of the difference between the maximum lift Max_lift and the minimum lift Min_lift as the dividing interval. Table 3 shows the calculation results of the final association rules for frequent 2-item sets;

[0148] Table 3. Calculation results of frequent 2-itemset final association rules

[0149]

[0150]

[0151] Step 6.6:

[0152] Taking the central grouping association rule of frequent n-itemsets as the center, the strong, medium and weak frequent 2-itemsets are distributed around the central grouping in turn. The frequent 2-itemsets are supplemented according to the principle of highest priority, that is, when different intervals of the same indicator are in different groups, they are merged into the highest grouping. In this example, the central grouping association rule of frequent 3-itemsets is taken as the center, and the strong, medium and weak frequent 2-itemsets are distributed around the central grouping in turn. Figure 2 As shown in the figure, the one-way arrow indicates that the influence between indicators is unidirectional, and the two-way arrow indicates that the influence between indicators is mutual; Figure 2 Based on the principle of frequent 2-item sets supplemented by the highest principle, the final evaluation index network relationship is obtained. Figure 3 The central indicator set includes the duration of UUV, the average window time, and the number of UUVs lost due to failed entry into the cabin. The middle indicator set includes the number of window times and the number of UUVs lost due to power failure. The outer indicator set includes the success rate of UUV entry into the cabin, the number of UUV entry restrictions, the total window time, and the average number of UUV entry into the cabin. The correlation analysis of the evaluation indicators based on association rule mining shows that there is a mutual dependence between the indicators in the evaluation system.

[0153] The present invention is compared with the traditional Apriori algorithm mining rules. Table 4 shows the number of frequent item sets and the final frequent item set generated by the traditional Apriori algorithm mining rules when the minimum support is set to 0.3, 0.4, 0.5 and the minimum confidence is set to a fixed value of 0.8, and finally the number of frequent item sets and the final frequent item set generated by the present invention; Table 5 shows the final frequent item set and the number of association rules in the final frequent item set generated by the traditional Apriori algorithm mining rules when the minimum confidence is set to 0.2, 0.4, 0.6, 0.8 and the minimum support is set to a fixed value of 0.36, and finally the final frequent item set and the number of association rules in the final frequent item set generated by the present invention; It can be seen from Table 4 that the traditional Apriori algorithm mining rules require multiple manual adjustments of the minimum support to find the optimal mining result, and the algorithm is running. A large number of frequent item sets will be generated during the process, thereby reducing the execution efficiency of the algorithm. When the minimum support is 0.3, the total number of frequent item sets it generates is 192. When the minimum support is 0.5, although the total number of frequent item sets it generates is 6, it will over-screen the evaluation index set, causing the final result to ignore some association rules. The total number of frequent item sets generated by the present invention is 12, which obviously improves the algorithm operation efficiency. As shown in Table 5, the traditional Apriori algorithm mining rules require manual multiple adjustments of the minimum confidence to find the optimal mining result, and when the minimum confidence value is unreasonable, redundant association rules will be generated. As can be seen from the above analysis, the present invention adaptively adjusts the minimum support and minimum confidence, does not require manual intervention in their values, avoids the subjectivity of manual values, and generates fewer frequent item sets during the algorithm operation, greatly improving the execution efficiency of the algorithm.

[0154] Table 4 Comparison of different minimum support settings of mining rules between the present invention and the traditional Apriori algorithm

[0155]

[0156] Table 5 Comparison of different minimum confidence levels between the proposed method and the traditional Apriori algorithm for mining rules

[0157]

[0158] The specific implementation scheme described above further illustrates the purpose of the invention and the technical solution of the present invention. The above embodiments are only used to illustrate the technical solution of the present invention, rather than to limit the scope of protection of the present invention. Those skilled in the art should understand that any modification or equivalent replacement of the technical solution of the present invention is included in the scope of protection of the present invention.

Claims

1. A method for constructing an evaluation index system for unmanned underwater vehicle swarms with causal constraints. It is characterized in that The following steps are involved: Step 1: Obtain evaluation indicators and evaluation data, select the evaluation indicators to be analyzed, discretize the continuous data, and use the input and output as indicators in the UUV cluster evaluation indicator system. The input data is divided into three categories with equal depth. The output data is divided according to the normal distribution. The standard deviation δ and mean μ of each group of output indicators are calculated. (-3δ)+μ, (-2δ)+μ, (-δ)+μ, δ+μ, 2δ+μ, and 3δ+μ are taken as the dividing points to divide the output data into the intervals of (-∞, -3δ+μ), [-3δ+μ, -2δ+μ), [-2δ+μ, -δ+μ), [-δ+μ, δ+μ), [δ+μ, 2δ+μ), [2δ+μ, 3δ+μ), and [3δ+μ, +∞); Step 2: Use the adaptive Apriori algorithm with causal constraints to generate frequent item sets and mine association rules between indicators: Step 2.1: Causal constraint means that both input and output indicators can be causes, output indicators can be results, but input indicators cannot be results; the adaptive Apriori algorithm improves the minimum support and minimum confidence on the basis of the traditional Apriori algorithm. The minimum support and minimum confidence of the traditional Apriori algorithm are fixed values ​​taken by humans, which have the subjectivity of artificial values. The minimum support Min_support of the adaptive Apriori algorithm is the average value of the support of all itemsets in the frequent itemset, and the minimum confidence Min_confidence is also the average value of the confidence of all itemsets in the frequent itemset. Therefore, it can avoid the subjectivity of artificial values ​​and the values ​​are more reasonable and objective. Among them, M γ is the γth item set, r is the number of item sets in the frequent item set, Support(M γ ) is the item set M γ The support of is the sum of the supports of r itemsets in the frequent itemset; Among them, s is the number of itemsets in the frequent itemset, t is the number of association rules generated by s itemsets, and N β →N α Represents the association rule between index α and index β, Confidence(N β →N α ) is the association rule N β →N α The confidence level, is the sum of the confidences of t association rules generated by s itemsets in the frequent itemset, α∈{1,2,…,s}, β∈{1,2,…,s}, and α≠β; Step 2.2: Generate candidate 1-item sets according to the input indicators divided with equal depth and the discretized output indicators, calculate the support of each item in the candidate 1-item set, remove items with support less than the adaptive minimum support threshold according to the adaptive minimum support threshold, and generate frequent 1-item sets; Step 2.3: The items in the frequent x-item set are combined to generate a candidate (x+1)-item set. The support of each item in the candidate (x+1)-item set is calculated. According to the adaptive minimum support threshold of the item set, the items with support less than the adaptive minimum support are removed to generate a frequent (x+1)-item set, x=1,2,…,n-1; Step 2.4: Repeat step 2.3 until the generated frequent n-item set has only one item set and the loop ends. At this time, the frequent n-item set is the final item set, and the frequent n-item set is X = {I 1 ,I 2 ,…,I n }; Step 3: Calculate the confidence of the itemset in the frequent n-itemset, and select the evaluation indicator association rules whose confidence is greater than the adaptive minimum confidence threshold of the itemset, and remove the association rules whose input indicators are the results; Step 4: For the association rules mined in step 3, zero things are eliminated based on the total confidence and cosine metric, so that the final association rules are not affected by zero things; Step 4.1: Calculate A j →A i The total confidence level is expressed by the following formula A j →A i The total confidence level of : Among them, X is a frequent n-item set, Support(X) is the support of the frequent n-item set, is the maximum (single) item support of all items in X; Step 4.2: Calculate A j →A i The cosine metric of A is expressed by the following formula j →A i The cosine metric of : Among them, Support(A j ∪A i ) is the included item set A j ∪A i Support(A i ) is the item set A i Support(A j ) is the item set A j support level; Step 4.3: Filter out the association rules with total confidence greater than 0.5 and cosine metric greater than 0.5, and discard the rest; Step 5: Based on step 4, calculate the lift of each association rule in the frequent n-item set and group the association rules according to the lift: Step 5.1: Calculate A j →A i The degree of improvement is expressed by the following formula A j →A i The degree of improvement: Among them, Confidence (A j →A i ) is A j →A i Confidence, Support(A j ) is the item set A j support level; Step 5.2: Eliminate association rules with a lift less than 1, retain association rules with a lift greater than 1, and arrange the retained association rules in descending order according to the lift. Use one-third of the difference between the maximum lift Max_lift and the minimum lift Min_lift as the dividing interval to divide them into three groups, namely strong, medium, and weak. The strong lift is used as the center of the grouping. The interval of weak lift is [Min_lift, Min_lift+Δ_lift], the interval of medium lift is (Min_lift+Δ_lift, Min_lift+2×Δ_lift], and the interval of strong lift is (Min_lift+2×Δ_lift, Min_lift+3×Δ_lift]; Among them, Max_lift is the maximum lift in the association rule, and Min_lift is the minimum lift in the association rule; Step 6: Compute frequent 2-itemset supplementary association rules and correct the grouping results: Step 6.1: According to the actual situation, the minimum support is set to a fixed value, and the minimum confidence is taken as the average of the confidences of all itemsets in the frequent itemset. The candidate 1-itemset is obtained by step 2.2, and the support of each item in the candidate 1-itemset is calculated. According to the minimum support threshold, the items with support less than the minimum support are eliminated to generate a frequent 1-itemset. Step 6.2: The items in the frequent 1-item set are combined to generate candidate 2-item sets, the support of each item in the candidate 2-item set is calculated, and the items with support less than the minimum support are eliminated according to the minimum support threshold to generate frequent 2-item sets; Step 6.3: Calculate the confidence of the itemset in the frequent 2-itemset, and filter the evaluation index association rules whose confidence is greater than the adaptive minimum confidence threshold of the itemset; Step 6.4: Calculate the total confidence and cosine measure of the association rules mined in step 6.3, and eliminate the association rules with total confidence less than 0.5 and cosine measure less than 0.5, that is, eliminate zero things; Step 6.5: Based on step 6.4, calculate the lift of the association rules, filter out the association rules with lift greater than 1, sort the remaining association rules in descending order according to lift, and divide them into three groups, namely strong, medium, and weak, with one-third of the difference between the maximum lift Max_lift and the minimum lift Min_lift as the dividing interval; Step 6.6: Taking the central grouping association rule of frequent n-itemsets as the center, the strong, medium and weak frequent 2-itemsets are distributed around the central group in order. The frequent 2-itemsets are supplemented based on the highest principle, that is, when different intervals of the same indicator are in different groups, they are merged into the highest group.