DIG
DIG copied to clipboard
Subgraphx mismatch number of nodes for `BA2Motifs` dataset
Hi,
I have tried subgraphx on ba2motif dataset to capture 50% of nodes, it mostly works well but sometimes it didn't like the following image.
here is my subgraphx config:
SubgraphX(self.model, num_classes=2, device=..., explain_graph=True, reward_method='mc_l_shapley', min_atoms=12, high2low=True, subgraph_building_method='split', verbose=True)
I have fixed it by replacing 'mc_shapley' with 'mc_l_shapley' for reward_method
Sorry the problem still remains with changing reward method
Hello, you can refer to our new tutorial materials, and it provides example to visualize results on ba_shapes
dataset.
https://github.com/divelab/DIG/blob/dig-stable/tutorials/KDD2022/xgraph_code_tutorial.ipynb