Hello,GNNExplainer is used to extract the importance of the node features in the graph.
(which has 10 node features)
GNNExplainer
Referring to this page, you can extract the importance of the features of the subgraph as shown here.
feat_mask
tensor([0.2362, 0.2497, 0.2622, 0.2675, … , 0.2649, 0.2962, 0.2533])
If I want to extract the importance of a feature for the entire graph, should I calculate the average of all subgraphs? Or is there another way?