Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ We introduce a novel class of models termed **directional diffusion models (DDM)
- Amazon-Photo

## Framework
![](framework.pdf)
![framework](./framework.pdf)
## Usage
```shell
conda create -n ddm python=3.8
Expand All @@ -35,10 +35,12 @@ cd to EXP path(```MUTAG``` for example)
cd GraphExp
python main_graph.py --yaml_dir ./yamls/MUTAG.yaml
```
Hyperparameters are given in dataset_name.yamls in ```yamls```
**In view of the sensitivity of diffusion method to hyperparameters, it is recommended to use hyperparameter search methods like NNI to achieve better results**


## Performance
### Directional noise v.s. white noise
![](noise_com.pdf)
![noise](./noise_com.pdf)
### Graph classification(F1-score)
| |IMDB-B|IMDB-M|COLLAB|REDDIT-B|PROTEINS|MUTAG|
|:---:|:----:|:----:|:----:|:------:|:------:|:---:|
Expand Down
Binary file added framework.pdf
Binary file not shown.
Binary file added noise_com.pdf
Binary file not shown.
137 changes: 137 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
absl-py==1.0.0
anyio==3.4.0
argon2-cffi==21.1.0
attrs==21.2.0
Babel==2.9.1
backcall==0.2.0
bleach==4.1.0
Bottleneck @ file:///opt/conda/conda-bld/bottleneck_1657175564434/work
brotlipy==0.7.0
cachetools==4.2.4
certifi @ file:///croot/certifi_1671487769961/work/certifi
cffi @ file:///tmp/build/80754af9/cffi_1625807838443/work
chardet @ file:///tmp/build/80754af9/chardet_1607706746162/work
conda==23.1.0
conda-package-handling @ file:///tmp/build/80754af9/conda-package-handling_1618262148928/work
cryptography @ file:///tmp/build/80754af9/cryptography_1616769286105/work
cycler @ file:///tmp/build/80754af9/cycler_1637851556182/work
Cython==0.29.35
debugpy==1.5.1
decorator==5.1.0
defusedxml==0.7.1
dgl==1.0.0+cu113
dgl-cu113 @ file:///ddm/reddit-binary/dgl_cu113-100.1.5-py3-none-any.whl
easydict==1.9
entrypoints==0.3
fonttools==4.28.2
google-auth==2.3.3
google-auth-oauthlib==0.4.6
grpcio==1.42.0
idna @ file:///home/linux1/recipes/ci/idna_1610986105248/work
importlib-metadata==4.8.2
importlib-resources==5.4.0
ipykernel==6.5.1
ipython==7.29.0
ipython-genutils==0.2.0
ipywidgets==7.6.5
jedi==0.18.1
Jinja2==3.0.3
joblib==1.1.0
json5==0.9.6
jsonschema==4.2.1
jupyter-client==7.1.0
jupyter-core==4.9.1
jupyter-server==1.12.0
jupyterlab==3.2.4
jupyterlab-language-pack-zh-CN==3.2.post2
jupyterlab-pygments==0.1.2
jupyterlab-server==2.8.2
jupyterlab-widgets==1.0.2
kiwisolver @ file:///croot/kiwisolver_1672387140495/work
littleutils==0.2.2
Markdown==3.3.6
MarkupSafe==2.0.1
matplotlib==3.5.0
matplotlib-inline==0.1.3
mistune==0.8.4
mkl-fft==1.3.1
mkl-random @ file:///tmp/build/80754af9/mkl_random_1626186064646/work
mkl-service==2.4.0
nbclassic==0.3.4
nbclient==0.5.9
nbconvert==6.3.0
nbformat==5.1.3
nest-asyncio==1.5.1
networkx==3.0rc1
notebook==6.4.6
numexpr @ file:///croot/numexpr_1668713893690/work
numpy @ file:///croot/numpy_and_numpy_base_1672336185480/work
oauthlib==3.1.1
ogb==1.3.5
outdated==0.2.2
packaging @ file:///croot/packaging_1671697413597/work
pandas==1.5.2
pandocfilters==1.5.0
parso==0.8.2
patsy==0.5.2
pexpect==4.8.0
pickleshare==0.7.5
Pillow==8.4.0
pluggy @ file:///tmp/build/80754af9/pluggy_1648042571233/work
pmdarima==2.0.2
prometheus-client==0.12.0
prompt-toolkit==3.0.22
protobuf==3.19.1
psutil==5.9.4
ptyprocess==0.7.0
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycosat==0.6.3
pycparser @ file:///tmp/build/80754af9/pycparser_1594388511720/work
Pygments==2.10.0
pyOpenSSL @ file:///tmp/build/80754af9/pyopenssl_1608057966937/work
pyparsing @ file:///opt/conda/conda-bld/pyparsing_1661452539315/work
pyrsistent==0.18.0
PySocks @ file:///tmp/build/80754af9/pysocks_1605305779399/work
python-dateutil @ file:///tmp/build/80754af9/python-dateutil_1626374649649/work
pytz @ file:///croot/pytz_1671697431263/work
PyYAML==6.0
pyzmq==22.3.0
requests @ file:///tmp/build/80754af9/requests_1608241421344/work
requests-oauthlib==1.3.0
rsa==4.8
ruamel-yaml-conda @ file:///tmp/build/80754af9/ruamel_yaml_1616016699510/work
ruamel.yaml @ file:///croot/ruamel.yaml_1666304550667/work
ruamel.yaml.clib @ file:///croot/ruamel.yaml.clib_1666302247304/work
scikit-learn==1.1.3
scipy==1.9.3
seaborn @ file:///croot/seaborn_1673479180098/work
Send2Trash==1.8.0
setuptools-scm==6.3.2
six @ file:///tmp/build/80754af9/six_1623709665295/work
sniffio==1.2.0
statsmodels==0.13.5
supervisor==4.2.2
tensorboard==2.7.0
tensorboard-data-server==0.6.1
tensorboard-plugin-wit==1.8.0
tensorboardX==2.5.1
termcolor==2.1.1
terminado==0.12.1
testpath==0.5.0
threadpoolctl==3.1.0
tomli==1.2.2
toolz @ file:///croot/toolz_1667464077321/work
torch @ http://download.pytorch.org/whl/cu113/torch-1.10.0%2Bcu113-cp38-cp38-linux_x86_64.whl
torchvision @ http://download.pytorch.org/whl/cu113/torchvision-0.11.1%2Bcu113-cp38-cp38-linux_x86_64.whl
tornado @ file:///opt/conda/conda-bld/tornado_1662061693373/work
tqdm @ file:///tmp/build/80754af9/tqdm_1625563689033/work
traitlets==5.1.1
typing-extensions==4.0.0
urllib3 @ file:///tmp/build/80754af9/urllib3_1625084269274/work
wcwidth==0.2.5
webencodings==0.5.1
websocket-client==1.2.1
Werkzeug==2.0.2
widgetsnbextension==3.5.2
zipp==3.6.0