DIG icon indicating copy to clipboard operation
DIG copied to clipboard

Subgraphx mismatch number of nodes for `BA2Motifs` dataset

Open alirezadizaji opened this issue 2 years ago • 2 comments

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. 603_X 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)

alirezadizaji avatar Aug 25 '22 17:08 alirezadizaji

I have fixed it by replacing 'mc_shapley' with 'mc_l_shapley' for reward_method

alirezadizaji avatar Aug 27 '22 06:08 alirezadizaji

Sorry the problem still remains with changing reward method

alirezadizaji avatar Aug 30 '22 06:08 alirezadizaji

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

Oceanusity avatar Oct 03 '22 03:10 Oceanusity