文件历史

246 次代码提交

作者 SHA1 备注 提交日期
HQ bf3994eea6 [Model][Hotfix] DiffPool formatting fix (#696)
* formatting

* formatting
2019-07-02 15:19:57 +08:00
HQ 684a61ad09 [Model] DiffPool with both DGL and tensorized operatons (#665)
* diffpool original file added

* make diffpool fuse up and running

* minor tweak on tu dataset statistics method

* fix tu

* break

* delete break

* pre_org

* diffpool fuse reorg

* fix random shuffling

* fix bn

* add dgl layers

* early stopping

* add readme

* fix

* add diffpool preprocess script

* tweak tu dataset

* tweak

* tweak

* tweak

* tweak

* tweak

* preprocess dataset

* fix early stopping

* fix

* fix

* fix

* tweak

* readme

* code review

* code review

* dataset code review

* update README

* code review

* tu doc
2019-07-01 20:00:15 +08:00
Minjie Wang dec8b49b5d [Examples] Run all the examples (#623)
* all pytorch examples

* scan through mxnet examples

* change reddit data

* tweak numerical range for unittest

* fix ci

* fix ci

* fix

* add seed to workaround
2019-06-09 00:26:13 -04:00
Mufei Li 306bb3f9ad [Bugfix] Fix minigc (#585) 2019-05-29 21:59:03 -04:00
Da Zheng 8c79885d8b [BUGFIX] fix the error message in the data loader. (#509)
* fix.

* Change to required=True

* Update description

* Change back
2019-04-26 09:52:45 +09:00
Zhengwei ad9da36add [Model] Add DGI Model (#501) 2019-04-22 11:37:06 +08:00
kitaev-chen a3febc061b [Model] Add GIN Model (#471)
* add gin model

* convert dataset.py to data_ont_the_fly way and put it into dgl.data module

* convert dataset.py to data_ont_the_fly way and put it into dgl.data module
python code checked

* modified document and reference TUDataset; checked python part and bypass cpp part due to error

* change tensor to numpy in dataset and transform in collate@Dataloader

* Change minor format issue

Change minor format issue

* moved logging; adjusted tqdm etc
2019-04-17 14:57:07 +08:00
VoVAllen c69dbbb736 [Bug Fix] Fix TUDataset Processing bug (#489)
* add graph classification dataset

* add node label

* add TUDataset

* Modify to consistent with Qi Huang's implementation

* add docs

* Add docs

* Fix change of environment variable

* Update tu.py

* Update tu.py

* Fix error when add node with np.int64

* Fix processing bug
2019-04-11 19:30:50 +08:00
VoVAllen 00fc680aae [Dataset] Add TUDataset (#473)
* add graph classification dataset

* add node label

* add TUDataset

* Modify to consistent with Qi Huang's implementation

* add docs

* Add docs

* Fix change of environment variable

* Update tu.py

* Update tu.py

* Fix error when add node with np.int64
2019-04-10 09:37:53 -04:00
Quan (Andy) Gan c07ae34a99 [Bugfix] removing non-determinism in data loading (#413)
[Bugfix] Removing non-determinism in data loading
2019-02-26 01:24:48 -05:00
Hao Zhang 788d8dd4ad [Model]PPI dataloader and inductive learning script. (#395)
* Create ppi.py

* Create train_ppi.py

* Update train_ppi.py

* Update train_ppi.py

* Create gat.py

* Update train.py

* Update train_ppi.py

* Update ppi.py

* Update train_ppi.py

* Update ppi.py

* Update train_ppi.py

* Update train_ppi.py

* Update ppi.py

* Update train_ppi.py

* update docs and readme
2019-02-17 16:41:30 -05:00
Ziyue Huang 51293a3273 [Data] reddit data loader (#372)
* reddit data loader

* upload to S3

* update

* add self loop

* address comments

* fi
2019-02-08 10:53:39 -08:00
Mufei Li 3cbfc25a32 [Tutorial] Batched Graph Classification (#360)
* batched_graph_classification

* Fix

* Fix

* update tutorial with new dataset

* Final

* Fix doc for dataset

* small fix
2019-01-25 15:13:52 -05:00
Minjie Wang abf12fc757 [Data] Synthetic dataset for graph classificaiton (#364)
* minigc dataset

* more comments

* sphinx
2019-01-25 10:47:47 -05:00
Gan Quan 37feb479fd [Release] 0.1.2 updates (#276)
* 0.1.2 release

* oops

* more fixes on windows

* [Bugfix] fix download dir (#275)

* fix download dir

* add doc for the env var
2018-12-07 01:54:13 -05:00
Da Zheng 1bbc885b40 move batcher to examples. (#269)
* move pytorch code to examples.

* fix.

* fix tutorial
2018-12-06 06:45:27 -08:00
Lingfan Yu 378c264561 [Model] Fix GCN Normalization (#249)
* WIP

* lr -> 0.01

* new cora dataset

* normalization code

* minor format change

* normalization factor for deg bucket
2018-12-05 12:32:10 -05:00
Minjie Wang 21255b6528 [Bugfix] tolist and dependencies in dgl.data (#239)
* change Index.tolist -> Index.tonumpy; fix bug in traversal; remove dependencies in data

* fix import

* fix __all__ and some docstring
2018-12-05 12:20:59 -05:00
HQ b1e8d95e99 [Doc] LGNN tutorial (#210)
* tutorial notebook added

* lg tutorial cleaned up

* dataset scaffold

* move dataloader to data

* fix model

* remove todo

* utils seperated

* [model]line graph new implementation + tutorial + binary sub graph dataset

* [tutorial] line graph sphinx scaffold

* [tutorial] lgnn tutorial improved

* [tutorial] remove notebook

* [tutorial] fix lg and gcn links

* [tutorial] fix random seed

* [tutorial]fix

* WIP

* code refactor done

* new mini dataset; remove utils code

* fix

* word fix

* fix link

* minor fix

* minor fix

* minor fix
2018-12-03 17:59:50 -05:00
Haibin Lin 5278220f85 update s3 links (#215) 2018-12-02 20:48:29 +08:00
Haibin Lin cccc2339c1 [Dataset] update s3 links (#209) 2018-12-01 14:45:30 -05:00
VoVAllen 91141a9826 [Dataset] Move file from dropbox to s3 (and fix ci fail due to sst dataset) (#205)
* move file from dropbox to s3

* fix ci and move sst to s3

* remove blank line
2018-11-30 19:44:55 -05:00
Zihao Ye c80dc5e012 [model] Tree-LSTM update & hotfix(dropbox link) (#202)
* change the signature of node/edge filter

* upd filter

* Support multi-dimension node feature in SPMV

* stable version

* hotfix

* upd tutorial

* upd README
2018-11-30 19:39:49 -05:00
Mufei Li 3a0f86a663 [Doc] data (#198)
* Fix dataset

* Track data APIs
2018-11-30 11:40:22 -05:00
HQ 5cda368d79 [Model] SBM hotfix (#137)
* [Model]SBM hotfix

* [Model] remove backend in data
2018-11-27 11:58:03 -05:00
Da Zheng 2389df8155 [API] Subgraph sampling API. (#138)
* add neighbor sampler.

* fix sampler.

* handle non-existing nodes differently in MapParentIdToSubgraphId.

* fix sampling tests.

* parallelize sampling.

* add more tests.

* fix a bug in subgraph loader.

* get number of sampled nodes directly.

* load mxnet CSR to DGLGraph directly.

* create graph from mxnet csr array directly.

* use subgraph loader in SSE.

* fix a bug in sampling.

* output framework tensor.

* fix.

* remove unnecessary code.

* fix tests.

* add SSE README.

* move to contrib.

* address comments.

* add tests.
2018-11-14 13:51:27 -08:00
Zihao Ye a9ffb59e66 [DOC][Model] Tree-LSTM example and tutorial (#146)
[DOC][Model] Tree-LSTM example and tutorial
2018-11-13 18:09:14 -05:00
Minjie Wang 6d96a97f17 [Doc] docstring for SST dataset (#133) 2018-11-10 11:59:55 -05:00
Minjie Wang 7241a9c008 [Backend] backend interface (#109)
* backend interface

* small fix

* more comments to the data type dict

* WIP

* convert_to and narrow

* WIP

* pytorch and numpy backend; WIP on mxnet backend

* mxnet backend

* narrow

* Fix all usages

* fix for mx

* fix for mx

* fix mx

* fix mx

* fix mx

* fix mx

* fix mx

* fix mx

* fix mx

* revert jenkins

* add sparse_matrix api

* sparse matrix api

* some fixme

* Fix as requested
2018-11-04 21:42:39 -05:00
GaiYu0 b420a5b5b3 [Model] Fix broken CDGNN example (#111)
* pretty printer

* Conflicts:
	python/dgl/data/sbm.py

* refined line_graph implementation

* fix broken api calls

* small fix to trigger CI

* requested change
2018-11-05 07:14:01 +08:00
GaiYu0 ff92812609 remove pytorch dependency in sbm.py (#107) 2018-10-25 20:22:41 -04:00
Da Zheng fb6be9fbd7 [GraphIndex] Create graph index directly from scipy matrix. (#87)
* create synthetic data with scipy.

* changes as comments
2018-10-18 16:39:45 -04:00
Minjie Wang 6cbdf37c37 Merge branch 'master' into cpp 2018-10-18 15:29:20 -04:00
GaiYu0 e7679cf2e6 implement requested changes 2018-10-13 14:24:46 +08:00
GaiYu0 0a6d720c30 fix build failure 2018-10-10 12:43:05 +08:00
Gan Quan ec4216dda8 [MODEL] junction tree vae example (#70)
* junction tree vae example

* added README and moved data to dropbox

* auto download; some fix in python3
2018-10-06 16:59:47 -04:00
GaiYu0 596ca471a5 Merge branch 'cpp' of https://github.com/jermainewang/dgl into line-graph 2018-10-06 23:52:04 +08:00
Minjie Wang c468e06867 some fix 2018-10-05 10:38:44 -04:00
GaiYu0 cc372e3774 sbm mixture 2018-10-04 21:22:41 +08:00
Minjie Wang 882e2a7be0 Graph batching. Support convert nx graph attrs 2018-09-24 21:34:51 -04:00
Minjie Wang 79f62400fe WIP: batch graphs 2018-09-21 14:53:25 -04:00
Minjie Wang b24daa6607 change to rel import within dgl 2018-09-16 16:14:37 -04:00
Minjie Wang 61fa3c6cf5 Builtin function and API changes (#53)
* WIP: API renaming

* API rewrite and node function refactor

* builtin functions

* builtin functions tested

* fix test

* send and recv spmv test

* WIP: fix examples

* Fix examples using new APIs
2018-09-01 13:38:01 -04:00
Gan Quan b7eb16595f Fix 0deg update_to and Tree-LSTM model (#51)
* WIP

* WIP

* treelstm dataloader

* Main training loop.

* trainable treelstm script

* fix dependency

* cuda training

* Add tensorized topological traversal

* allowing update_to() with no incoming messages

* fixing partial cases
2018-08-28 11:57:08 -04:00
Minjie Wang 0a78dbe12a Three DGL-GCN implementations (#35)
* synthetic dataset

* some fix

* gcn readme
2018-08-07 15:26:58 -04:00
Minjie Wang 2c489fadec SPMV specialization (#32)
* fix edge list order problem in cached graph.

* minor fix

* fix bug in edge iter

* SPMV works

* gcn spmv on CPU

* change gcn style

* fix cached graph performance; fixed gcn dataset bug

* reorg dir

* non-batch spmv; partial update problem with shape change

* fix reorder problem; finish gcn-batch impl

* pop API

* GPU context
2018-08-06 14:00:06 -04:00