divelab / DIG

A library for graph deep learning research
https://diveintographs.readthedocs.io/
GNU General Public License v3.0
1.84k stars 281 forks source link

PGExplainer monte carlo part #114

Closed alirezadizaji closed 2 years ago

alirezadizaji commented 2 years ago

Hi, based on the paper pseudo code, I believe there is a monte carlo part, but I couldn't found it within the code.

alirezadizaji commented 2 years ago

currently I'm working on it and I will create a PR soon

Oceanusity commented 2 years ago

Hello, thank you for your contribution.

This PGExplainer code is modified from the official implementation of the PGExplainer. Since it also does not implement the Monte Carlo part, neither do ours.

For the official code, you can refer to the implementation of PGExplainer on the BA2Motif for more details. https://github.com/flyingdoog/PGExplainer/blob/master/BA-2motifs.ipynb