Risk factor association data mining method based on graph neural network
By calculating the risk factors of traffic intersections and adjusting the parameters of the graph neural network, the problem of low accuracy in data mining related to traffic intersection risk factors in the existing technology is solved, and the accuracy of the traffic intersection risk assessment and the classification effect of the graph neural network are improved. .
Patent Information
- Application Number
- CN202311680387.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-08
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2043-12-08
AI Technical Summary
In the existing technology, the accuracy of determining the risk factors, labels and graph structures of traffic intersections is low, which results in low classification accuracy of graph neural networks and affects the accuracy of risk factor associated data mining.
By obtaining historical data of traffic intersections, calculating risk factors, determining label and node feature vectors, adjusting graph parameters, building graph neural networks, training models to improve classification accuracy, and adjusting to optimize model performance by comparing with preset values.
It improves the accuracy of traffic intersection risk assessment and the classification effect of graph neural network, and enhances the analysis ability of traffic network structure and the interpretability of the model.
Smart Images

Figure CN117971915B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of graph neural network technology, and in particular to a risk factor association data mining method based on graph neural network. Background Art
[0002] With the acceleration of urbanization, urban traffic problems are becoming increasingly serious. Traffic congestion and frequent traffic accidents have become major issues that plague urban residents. In order to improve the traffic capacity and safety of urban roads, traffic management departments and researchers need to conduct risk assessment and classification of traffic intersections so as to take targeted measures to reduce the occurrence of traffic accidents and congestion.
[0003] In recent years, Graph Neural Network (GNN), as a powerful machine learning method, has achieved remarkable success in many fields, such as social network analysis, bioinformatics, and recommendation systems. GNN has excellent representation ability and can capture complex relationships in graph structures. Therefore, it has great potential in mining risk data at traffic intersections.
[0004] However, in order to enable GNN to be effectively applied to the mining of risk data at traffic intersections, it is necessary to reasonably process and represent the historical traffic data of traffic intersections, which includes calculating the risk factors of traffic intersections, determining the labels of traffic intersections, constructing appropriate graph structures, and determining node feature vectors and edge weights. In addition, it is necessary to organize this information into a suitable data set and adjust and optimize the model during training and testing to improve prediction accuracy.
[0005] Chinese Patent Publication No.: CN115147790A discloses a method for predicting the future trajectory of a vehicle based on a graph neural network, including step 1: data collection: obtaining visual perception information, sensor positioning information and high-precision map information of traffic participants and surrounding traffic participants, and processing the acquired information; step 2: making training data: constructing a road map based on the sensor positioning information and the high-precision map, and then constructing the time series of the trajectories of surrounding traffic participants and the vehicle itself, generating true future trajectories and multimodal trajectories; step 3: neural network construction: based on the time series of the vehicle itself, surrounding traffic participants, and the spatial sequence in each node contained in the road map, using a recurrent neural network LSTM to perform Row encoding, and use the hidden vector in LSTM to represent the characteristics of the entire sequence; Step 4: Perform model training: Construct a negative log-likelihood loss function for multimodal classification and element offset accuracy: where M represents the number of modes, H represents the number of predicted time steps, N represents a two-dimensional Gaussian distribution, s represents a true trajectory point, a represents a static trajectory anchor, μ represents the mean of the Gaussian distribution, Σ represents the covariance matrix of the two-dimensional Gaussian distribution, x represents the input sample, and θ represents the network parameter; the neural network model optimizes the model parameters through gradient back propagation, so that the loss function gradually decreases and the performance indicators gradually improve; Step 5: Input the test set into the trained graph neural network model to obtain the trajectory prediction result.
[0006] It can be seen that the existing technology has the following problems: due to the low accuracy in determining the risk factors, labels and graph structures of traffic intersections, the accuracy and interpretability of the data set are affected, resulting in low classification accuracy of the graph neural network, which in turn affects the accuracy of risk factor association data mining. Summary of the invention
[0007] To this end, the present invention provides a risk factor association data mining method based on graph neural network to overcome the problems in the prior art of low accuracy and poor interpretability of data sets, which leads to low classification accuracy of graph neural network and thus affects the accuracy of risk factor association data mining.
[0008] To achieve the above object, the present invention provides a risk factor association data mining method based on graph neural network, comprising:
[0009] Obtain historical traffic data of all traffic intersections in a preset area, calculate risk factors of traffic intersections, and determine labels of traffic intersections;
[0010] All traffic intersections are set as transparent nodes, roads connecting two adjacent transparent nodes are set as edges, and characteristic vectors of the transparent nodes and graph parameters including clustering coefficients of the transparent nodes and initial weights of the edges are determined;
[0011] The feature vectors, labels and graph parameters of all the transparent nodes are stored in a data set, and the data set is divided into a training set and a test set according to a preset ratio;
[0012] Constructing a graph neural network and training the graph neural network on a training set;
[0013] Classify traffic intersections outside the preset area according to a graph neural network with an accuracy greater than a preset accuracy;
[0014] The clustering coefficient of the transparent node is determined according to the degree of the transparent node, and the initial weight of the edge is determined according to the traffic volume of the road in one year;
[0015] The risk factor of a traffic intersection is calculated according to the following formula:
[0016]
[0017] Among them, F represents the risk factor of the traffic intersection, A represents the number of traffic accidents in the traffic intersection in the past year, A0 represents the average number of traffic accidents in the traffic intersection in the past five years, B represents the number of congestion times in the traffic intersection in the past year, and B0 represents the average number of congestion times in the traffic intersection in the past five years;
[0018] Determining the label of the traffic intersection includes determining the label of the traffic intersection according to the comparison result of the risk factor F and the preset risk factor F0; if F≤F0, determining the label of the traffic intersection as a first label; if F>F0, determining the label of the traffic intersection as a second label; wherein the first label is a low-risk traffic intersection and the second label is a high-risk intersection;
[0019] The specific steps of determining the clustering coefficient of the transparent node according to the degree of the transparent node include:
[0020] Determine the clustering coefficient Xw of the transparent node according to the comparison result of the degree D of the transparent node and the preset degree D0;
[0021] When D≤D0, the clustering coefficient Xw of the transparent node is determined to be the first clustering coefficient X1;
[0022] When D>D0, the clustering coefficient Xw of the transparent node is determined to be the second clustering coefficient X2;
[0023] Among them, the first clustering coefficient , the second clustering coefficient , D represents the degree of the transparent node;
[0024] The initial weight determined according to the traffic volume of the road in the past year includes determining the initial weight Qi of the edge according to the comparison result of the traffic volume L of the road in the past year and the preset traffic volume, wherein the preset traffic volume includes a first preset traffic volume L1 and a second preset traffic volume L2;
[0025] When L≤L1, the initial weight Qi of the edge is determined to be the first initial weight Q1;
[0026] When L1<L≤L2, the initial weight Qi of the edge is determined to be the second initial weight Q2;
[0027] When L>L2, the initial weight Qi of the edge is determined to be the third initial weight Q3;
[0028] When the initial weight of the edge is determined, the specific steps of determining the adjustment method of adjusting the graph parameter according to the first relative difference between the length and the preset length include:
[0029] Calculating a first relative difference ΔC between the length C and a preset length C0, and determining an adjustment method for adjusting the graph parameter according to a comparison result of the first relative difference ΔC and a first preset relative difference ΔC0, setting ΔC=(C-C0) / C0;
[0030] When ΔC≤ΔC0, it is determined to adjust the initial weight by the adjustment coefficient;
[0031] When ΔC>ΔC0, it is determined to adjust the initial weight with the adjustment coefficient and to adjust the clustering coefficient according to the adjustment coefficient.
[0032] Further, the adjustment coefficient K is calculated according to the following formula:
[0033] ;
[0034] Calculate the adjustment coefficient T according to the following formula, set
[0035] ;
[0036] Among them, K represents the adjustment coefficient, T represents the regulation coefficient, and ΔC represents the first relative difference.
[0037] Furthermore, when the graph neural network training is completed, the adjustment coefficient is corrected based on the accuracy of the trained graph neural network in classifying transparent nodes in the test set being less than or equal to a preset accuracy.
[0038] Further, the determining to correct the adjustment coefficient includes determining a correction coefficient for correcting the adjustment coefficient according to a second relative difference between the accuracy rate and a preset accuracy rate.
[0039] Compared with the prior art, the beneficial effect of the present invention lies in that the present invention comprehensively considers the number of traffic accidents at traffic intersections in the past year and the average number of traffic accidents in the past five years, as well as the number of congestion times in the past year and the average number of congestion times in the past five years, and comprehensively evaluates the risk status of traffic intersections, making the evaluation results more accurate.
[0040] Furthermore, the present invention compares the risk factor with the preset risk factor to intuitively classify traffic intersections into low-risk and high-risk categories, and more accurately determines the labels of traffic intersections to improve the classification effect of the graph neural network.
[0041] Furthermore, the present invention compares the degree of the transparent node with the preset degree to more accurately determine the clustering coefficient of the transparent node, thereby more accurately analyzing the structure of the traffic network, thereby improving the accuracy of the graph neural network classification.
[0042] Furthermore, the present invention compares the traffic flow with the preset traffic flow to more accurately reflect the actual traffic conditions of the road. The setting of the initial weights intuitively reflects the impact of the traffic flow on the traffic intersection, thereby improving the interpretability of the graph neural network.
[0043] Furthermore, the present invention compares the road length with a preset length to more accurately reflect the actual situation of the road, thereby improving the accuracy and adaptability of graph neural network classification.
[0044] Furthermore, the present invention compares the first relative difference with the first preset relative difference to reflect the actual situation of the road, adjusts the graph parameters more accurately, improves the classification accuracy of the graph neural network, and thus more accurately mines the associated data of risk factors.
[0045] Furthermore, the present invention calculates adjustment coefficients and regulation coefficients to more accurately adjust graph parameters and optimize the structure of the graph neural network so that the data set can accurately reflect the actual conditions of traffic intersections and roads, thereby improving the classification accuracy of the graph neural network.
[0046] Furthermore, the present invention compares the classification accuracy of the model with a preset accuracy to more accurately evaluate the performance of the graph neural network, and accordingly corrects the adjustment coefficient to improve the classification accuracy of the graph neural network.
[0047] Furthermore, the present invention determines a correction coefficient based on the second relative difference to more accurately adjust the adjustment coefficient so that the data set accurately reflects the actual conditions of the traffic intersection and the road, thereby improving the classification accuracy of the graph neural network. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1This is a flow chart of a risk factor association data mining method based on a graph neural network according to an embodiment of the present invention. DETAILED DESCRIPTION
[0049] In order to make the objects and advantages of the present invention more clearly understood, the present invention is further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0050] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0051] See also Figure 1 As shown, Figure 1 This is a flow chart of a risk factor association data mining method based on a graph neural network according to an embodiment of the present invention.
[0052] The risk factor association data mining method based on graph neural network includes:
[0053] Step S1, obtaining historical traffic data of all traffic intersections in a preset area, calculating a risk factor F of the traffic intersection, and determining a label of the traffic intersection according to the risk factor F;
[0054] Step S2, setting all traffic intersections as transparent nodes, setting the roads connecting two adjacent transparent nodes as edges, determining the feature vectors of the transparent nodes, and graph parameters including the clustering coefficient Xw of the transparent nodes and the initial weight Qi of the edges;
[0055] Step S3, storing the feature vectors, labels and graph parameters of all the transparent nodes into a data set, and dividing the data set into a training set and a test set according to a preset ratio;
[0056] Step S4, constructing a graph neural network and training the graph neural network on a training set;
[0057] Step S5, classifying traffic intersections outside the preset area according to the graph neural network whose accuracy M is greater than the preset accuracy M0.
[0058] The historical traffic data includes the number of traffic accidents A in the past year at the intersection, the average number of traffic accidents A0 in the past five years at the intersection, the number of congestion B in the past year at the intersection, and the average number of congestion B0 in the past five years at the intersection;
[0059] The characteristic vector is a three-dimensional vector including the risk factor F, the number of traffic lights G, and the speed limit H of the traffic intersection.
[0060] In the embodiment of the present invention, the preset area is preferably the city with the highest total number of traffic accidents in the country in the past five years, and the preset ratio is 8:2.
[0061] Specifically, the risk factor F of the traffic intersection is calculated according to the following formula:
[0062]
[0063] Among them, A represents the number of traffic accidents at the traffic intersection in one year's history, A0 represents the average number of traffic accidents at the traffic intersection in five years' history, B represents the number of congestion times at the traffic intersection in one year's history, and B0 represents the average number of congestion times at the traffic intersection in five years' history.
[0064] Specifically, the present invention comprehensively considers the number of traffic accidents at traffic intersections in the past year and the average number of traffic accidents in the past five years, as well as the number of congestion times in the past year and the average number of congestion times in the past five years, and comprehensively evaluates the risk status of traffic intersections, making the evaluation results more accurate.
[0065] Specifically, when the risk factor F of the traffic intersection is calculated, the label of the traffic intersection is determined according to the comparison result between the risk factor F and the preset risk factor F0.
[0066] If F≤F0, the label of the traffic intersection is determined to be the first label;
[0067] If F>F0, the label of the traffic intersection is determined to be the second label;
[0068] Among them, the first label is a low-risk traffic intersection, and the second label is a high-risk intersection.
[0069] In the embodiment of the present invention, the preset risk factor F0 is set to 0.81. The preset risk factor F0 is obtained when the ratio of the difference between the number of traffic accidents in the traffic intersection in one year's history and the average number of traffic accidents in the traffic intersection in five years' history to the number of traffic accidents in the traffic intersection in one year's history is 0.2, and the ratio of the number of congestion times in the traffic intersection in one year's history to the average number of congestion times in the traffic intersection in five years' history is 1.2. Technical personnel in this field can adjust the preset risk factor F0 according to specific circumstances.
[0070] Specifically, the present invention compares the risk factor with the preset risk factor to intuitively classify traffic intersections into low-risk and high-risk categories, and more accurately determines the labels of traffic intersections to improve the classification effect of the graph neural network.
[0071] Specifically, the clustering coefficient Xw of the transparent node is determined according to the comparison result between the degree D of the transparent node and the preset degree D0;
[0072] When D≤D0, the clustering coefficient Xw of the transparent node is determined to be the first clustering coefficient X1;
[0073] When D>D0, the clustering coefficient Xw of the transparent node is determined to be the second clustering coefficient X2;
[0074] Among them, the first clustering coefficient , the second clustering coefficient .
[0075] In the embodiment of the present invention, the preset degree D0 is 3, and those skilled in the art can adjust the preset degree D0 according to specific circumstances.
[0076] Specifically, the present invention compares the degree of transparent nodes with a preset degree to more accurately determine the clustering coefficient of transparent nodes, thereby more accurately analyzing the structure of the traffic network and improving the accuracy of graph neural network classification.
[0077] Specifically, the initial weight Qi of the edge is determined according to the comparison result of the traffic flow L of the road in the past year and the preset traffic flow, and the preset traffic flow includes a first preset traffic flow L1 and a second preset traffic flow L2;
[0078] When L≤L1, the initial weight Qi of the edge is determined to be the first initial weight Q1;
[0079] When L1<L≤L2, the initial weight Qi of the edge is determined to be the second initial weight Q2;
[0080] When L>L2, the initial weight Qi of the edge is determined to be the third initial weight Q3;
[0081] Among them, 0<Q1<Q2<Q3≤1, in the embodiment of the present invention, the value of the first initial weight Q1 is preferably 0.5, the value of the second initial weight Q2 is preferably 0.7, and the value of the third initial weight Q3 is preferably 0.9.
[0082] In the embodiment of the present invention, the first preset traffic flow L1 is 75% of the average traffic flow of the road in the past five years, and the second preset traffic flow L2 is 125% of the average traffic flow of the road in the past five years. Those skilled in the art can adjust the first preset traffic flow L1 and the second preset traffic flow L2 according to specific circumstances.
[0083] Specifically, the present invention compares the traffic flow with the preset traffic flow to more accurately reflect the actual traffic conditions of the road. The setting of the initial weights intuitively reflects the impact of the traffic flow on the traffic intersection, thereby improving the interpretability of the graph neural network.
[0084] Specifically, when the determination of the initial weight Qi of the edge is completed, it is determined whether to adjust the graph parameters according to the comparison result between the length C of the road and the preset length C0;
[0085] When C≤C0, it is determined that the graph parameters are not adjusted;
[0086] When C>C0, it is determined to adjust the graph parameters;
[0087] In the embodiment of the present invention, the preset length C0 is set to 10 km, and those skilled in the art may adjust the preset length C0 according to specific circumstances.
[0088] Specifically, the present invention compares the road length with the preset length to more accurately reflect the actual situation of the road, thereby improving the accuracy and adaptability of graph neural network classification.
[0089] Specifically, when it is determined to adjust the graph parameter, a first relative difference △C between the length C and the preset length C0 is calculated, and an adjustment method for adjusting the graph parameter is determined according to a comparison result of the first relative difference △C and the first preset relative difference △C0, and △C=(C-C0) / C0 is set;
[0090] When △C≤△C0, it is determined to adjust the graph parameters in a first adjustment manner;
[0091] When ΔC>ΔC0, it is determined to adjust the graph parameters in a second adjustment manner;
[0092] The first adjustment method is to adjust the initial weight Qi according to the adjustment coefficient K, and the second adjustment method is to adjust the initial weight Qi according to the adjustment coefficient K and adjust the clustering coefficient Xw according to the adjustment coefficient T.
[0093] In the embodiment of the present invention, the first preset relative difference △C0 is set to 0.5. The first preset relative difference △C0 is obtained when the length C is 15 km. Those skilled in the art can adjust the first preset relative difference △C0 according to specific circumstances.
[0094] Specifically, the present invention compares the first relative difference with the first preset relative difference to reflect the actual situation of the road, adjusts the graph parameters more accurately, improves the classification accuracy of the graph neural network, and thus more accurately mines the associated data of risk factors.
[0095] Specifically, when it is determined to adjust the graph parameters in the first adjustment mode, the adjustment coefficient K is calculated according to the following formula:
[0096] ;
[0097] Set the adjusted initial weight Qi to Qqi=Qi×K, i=1, 2, 3.
[0098] Specifically, when it is determined to adjust the graph parameters in the second adjustment mode, the adjustment coefficient T is calculated according to the following formula:
[0099] ;
[0100] The adjusted clustering coefficient Xw is set to Xxw=Xw×T, w=1,2.
[0101] Specifically, the present invention calculates adjustment coefficients and regulation coefficients to more accurately adjust graph parameters and optimize the structure of the graph neural network so that the data set can accurately reflect the actual conditions of traffic intersections and roads, thereby improving the classification accuracy of the graph neural network.
[0102] Specifically, when the graph neural network training is completed, it is determined whether to modify the adjustment coefficient T according to the comparison result of the accuracy M of the trained graph neural network for classifying the transparent nodes in the test set and the preset accuracy M0;
[0103] When M≤M0, it is determined to correct the adjustment coefficient T;
[0104] When M>M0, it is determined that the adjustment coefficient T is not corrected;
[0105] In the embodiment of the present invention, the preset accuracy rate M0 is set to 90%. Those skilled in the art may adjust the preset accuracy rate M0 according to specific circumstances.
[0106] Specifically, the present invention compares the classification accuracy of the model with the preset accuracy to more accurately evaluate the performance of the graph neural network, and modifies the adjustment coefficient accordingly to improve the classification accuracy of the graph neural network.
[0107] Specifically, when it is determined to correct the adjustment coefficient T, a second relative difference △M between the accuracy M and the preset accuracy M0 is calculated, and a correction coefficient Zv for correcting the adjustment coefficient T is determined according to a comparison result of the second relative difference △M and the second preset relative difference △M0, and △M=(M0-M) / M0 is set;
[0108] When △M≤△M0, it is determined that the adjustment coefficient T is corrected by the first correction coefficient Z1;
[0109] When △M>△M0, it is determined to correct the adjustment coefficient T with the second correction coefficient Z2;
[0110] Among them, 1<Z1<Z2<1.5, in the embodiment of the present invention, the first correction coefficient Z1 is preferably 1.2, and the second correction coefficient Z2 is preferably 1.3.
[0111] The corrected adjustment coefficient is set to Tt=T×Zv, v=1,2.
[0112] In the embodiment of the present invention, the second preset relative difference △M0 is set to 0.06. The second preset relative difference △M0 is obtained when the accuracy M is 85%. Those skilled in the art can adjust the second preset relative difference △M0 according to specific circumstances.
[0113] Specifically, the present invention determines the correction coefficient based on the second relative difference to more accurately adjust the adjustment coefficient so that the data set accurately reflects the actual conditions of the traffic intersection and the road, thereby improving the classification accuracy of the graph neural network.
[0114] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
[0115] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A risk factor association data mining method based on graph neural network, characterized in that: include: Obtain historical traffic data of all traffic intersections in a preset area, calculate risk factors of traffic intersections, and determine labels of traffic intersections; All traffic intersections are set as transparent nodes, roads connecting two adjacent transparent nodes are set as edges, and characteristic vectors of the transparent nodes and graph parameters including clustering coefficients of the transparent nodes and initial weights of the edges are determined; The feature vectors, labels and graph parameters of all the transparent nodes are stored in a data set, and the data set is divided into a training set and a test set according to a preset ratio; Constructing a graph neural network and training the graph neural network on a training set; Classify traffic intersections outside the preset area according to a graph neural network with an accuracy greater than a preset accuracy; The clustering coefficient of the transparent node is determined according to the degree of the transparent node, and the initial weight of the edge is determined according to the traffic volume of the road in one year; The risk factor of a traffic intersection is calculated according to the following formula: , Among them, F represents the risk factor of the traffic intersection, A represents the number of traffic accidents in the traffic intersection in the past year, A0 represents the average number of traffic accidents in the traffic intersection in the past five years, B represents the number of congestion times in the traffic intersection in the past year, and B0 represents the average number of congestion times in the traffic intersection in the past five years; Determining the label of the traffic intersection includes determining the label of the traffic intersection according to a comparison result of the risk factor F and a preset risk factor F0; If F≤F0, the label of the traffic intersection is determined to be the first label; If F>F0, the label of the traffic intersection is determined to be the second label; wherein the first label is a low-risk traffic intersection and the second label is a high-risk intersection; The specific steps of determining the clustering coefficient of the transparent node according to the degree of the transparent node include: Determine the clustering coefficient Xw of the transparent node according to the comparison result of the degree D of the transparent node and the preset degree D0; When D≤D0, the clustering coefficient Xw of the transparent node is determined to be the first clustering coefficient X1; When D>D0, the clustering coefficient Xw of the transparent node is determined to be the second clustering coefficient X2; Among them, the first clustering coefficient , the second clustering coefficient , D represents the degree of the transparent node; The initial weight determined according to the traffic volume of the road in the past year includes determining the initial weight Qi of the edge according to the comparison result of the traffic volume L of the road in the past year and the preset traffic volume, wherein the preset traffic volume includes a first preset traffic volume L1 and a second preset traffic volume L2; When L≤L1, the initial weight Qi of the edge is determined to be the first initial weight Q1; When L1<L≤L2, the initial weight Qi of the edge is determined to be the second initial weight Q2; When L>L2, the initial weight Qi of the edge is determined to be the third initial weight Q3; When the initial weight of the edge is determined, the specific steps of determining the adjustment method of adjusting the graph parameter according to the first relative difference between the length of the road and the preset length include: Calculating a first relative difference ΔC between the length C of the road and a preset length C0, and determining an adjustment method for adjusting the map parameter according to a comparison result of the first relative difference ΔC and the first preset relative difference ΔC0, setting ΔC=(C-C0) / C0; When ΔC≤ΔC0, it is determined to adjust the initial weight by the adjustment coefficient; When ΔC>ΔC0, it is determined to adjust the initial weight with the adjustment coefficient and to adjust the clustering coefficient according to the adjustment coefficient.
2. The risk factor association data mining method based on graph neural network according to claim 1 is characterized in that: Calculate the adjustment coefficient K according to the following formula: ; Calculate the adjustment coefficient T according to the following formula, set ; Among them, K represents the adjustment coefficient, T represents the regulation coefficient, and ΔC represents the first relative difference.
3. The risk factor association data mining method based on graph neural network according to claim 2 is characterized in that: When the graph neural network training is completed, the adjustment coefficient is corrected based on the accuracy of the trained graph neural network in classifying transparent nodes in the test set being less than or equal to a preset accuracy.
4. The risk factor association data mining method based on graph neural network according to claim 3 is characterized in that: The determining to correct the adjustment coefficient includes determining a correction coefficient for correcting the adjustment coefficient according to a second relative difference between the accuracy rate and a preset accuracy rate.
Citation Information
Patent Citations
Vehicle future trajectory prediction method based on graph neural network
CN115147790A
Road network node importance evaluation method based on knowledge graph
CN111160753A
Graph neural network model training method and device, classification method and computing equipment
CN116090504A
