The invention relates to a method for realizing AFD
phase inversion risk prediction based on function connection and a graph neural network, and the method comprises the following steps: preprocessing an image, extracting a
time sequence of each
brain region based on a predefined brain map, and calculating a whole brain FC matrix; constructing the FC matrix into graph structure data, and inputting the graph structure data into a graph neural network; the
Euclidean distance between the feature representation of the AFD patient to be evaluated and the average feature representation of the BD
patient population is calculated. The method, the
system, the device, the processor and the medium for realizing AFD
phase inversion risk prediction based on the function connection and the graph neural network are high in prediction precision, combine GNN with an edge weight attention mechanism, can capture high-order topological characteristics of a
brain network, have early warning capability, and can predict and output FC and brain regions which are most critical to decision. The
technology fusion innovativeness is high, the brain connection
omics, the graph neural network and representation learning are seamlessly fused, and the clinical transformation potential is large.