Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
yxy235 6a1f94d362 | 6 months ago | |
---|---|---|
.. | ||
README.md | 2 years ago | |
dataloader.py | 6 months ago | |
main.py | 1 year ago | |
main_sampling.py | 1 year ago | |
model.py | 1 year ago | |
model_sampling.py | 1 year ago | |
variant.png | 2 years ago |
This DGL example implements the Heterogeneous GCN part of the model proposed in the paper Spam Review Detection with Graph Convolutional Networks.
This example was implemented by Kay Liu during his SDE intern work at the AWS Shanghai AI Lab.
The datasets used for edge classification are variants of DGL's built-in fake news datasets. The converting process from tree-structured graph to bipartite graph is shown in the figure.
NOTE: Same as the original fake news dataset, this variant is for academic use only as well, and commercial use is prohibited. The statistics are summarized as followings:
Politifact
Gossicop
In the gas folder, run
python main.py
If want to use a GPU, run
python main.py --gpu 0
If the mini-batch training is required to run on a GPU, run
python main_sampling.py --gpu 0
Dataset | Xianyu Graph (paper reported) | Fake News Politifact | Fake News Gossipcop |
---|---|---|---|
F1 | 0.8143 | 0.9994 | 0.9942 |
AUC | 0.9860 | 1.0000 | 0.9991 |
Recall@90% precision | 0.6702 | 0.9999 | 0.9976 |
No Description
Python C++ Jupyter Notebook Cuda Text other
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》