Commit 85c9ff01 authored by xuyou314's avatar xuyou314 Committed by Quan (Andy) Gan
Browse files

[Example] Finish adaptive sampling (#998)

* [Example] Finish adaptive sampling

* refactor code and use argparse for command-line usage

* Update README.md

* add node_per_layer command-line argument
parent 5833825b
# Adaptive sampling for graph representation learning
This is dgl implementation of [Adaptive Sampling Towards Fast Graph Representation Learning](https://arxiv.org/abs/1809.05343).
The authors' implementation can be found [here](https://github.com/huangwb/AS-GCNN).
## Performance
Test accuracy on cora dataset achieves 0.84 around 250 epochs when sample size is set to 256 for each layer.
## Usage
`python adaptive_sampling.py --batch_size 20 --node_per_layer 40`
\ No newline at end of file
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment