文件历史

提交图

75 次代码提交

作者 SHA1 备注 提交日期
Jinjing Zhou 4125f63e72 Update docs (#2123)
* Remove SSE

* Update env_var.rst
2020-08-28 20:35:36 +08:00
Jinjing Zhou ef78d675e9 Fix docs (#2073)
* remove mxnet tutorial

* remove sse

* fix docs
2020-08-20 15:37:50 +08:00
Mufei Li 100d932865 Update (#2062)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-1-5.us-west-2.compute.internal>
2020-08-19 17:42:48 +08:00
Xiangkun Hu 001d793711 [Dataset] SSTDataset (#1918)
* PPIDataset

* Revert "PPIDataset"

This reverts commit 264bd0c960cfa698a7bb946dad132bf52c2d0c8a.

* SSTDataset

* Update tree.py
2020-08-03 19:15:28 +08:00
Mufei Li 63feb47c26 [Example] Update Links for Supervised Community Detection with Graph Neural Networks (#1816)
* Update README.md

* Update README.txt
2020-07-17 17:13:25 +08:00
xiang song(charlie.song) 42b0c38f81 [Kernel] Migrate traversal on adjlist to CSR (#1650)
* traversal to new framework

* add new

* Fix compile

* Pass test

* keep old version

* lint

* lint

* Fix

* Fix

* Fix compatability with new master

* Fix test and tutorials

* Update according to comments

* Fix test

Co-authored-by: Ubuntu <ubuntu@ip-172-31-51-214.ec2.internal>
2020-06-19 13:25:18 +08:00
Mufei Li 9779c02667 Fix tutorial (#1587) 2020-06-04 15:17:03 +08:00
Mufei Li 38b9c0f82f [DGL-LifeSci] Allow Generating Vocabulary from a New Dataset (#1577)
* Generate vocabulary from a new dataset

* CI"
2020-06-02 14:21:48 +08:00
Mufei Li 1b152bf524 [Doc & Tutorial] Fix dgl.batch and GAT (#1418)
* Update doc and tutorials

* Fix
2020-04-04 01:23:22 +08:00
Minjie Wang 2cdc4d3c1d [Doc] Patch tutorial (#1380)
* patched 1_first

* done 2_basics

* done 4_batch

* done 1_gcn, 9_gat, 2_capsule

* 4_rgcn.py

* revert

* more fix
2020-03-22 10:21:22 +08:00
Zihao Ye 93ac29ce34 [Refactor] Unify DGLGraph, BatchedDGLGraph and DGLSubGraph (#1216)
* upd

* upd

* upd

* lint

* fix

* fix test

* fix

* fix

* upd

* upd

* upd

* upd

* upd

* upd

* upd

* upd

* upd

* upd

* upd tutorial

* upd

* upd

* fix kg

* upd doc organization

* refresh test

* upd

* refactor doc

* fix lint

Co-authored-by: Minjie Wang <minjie.wang@nyu.edu>
2020-03-05 18:03:57 +08:00
Jinjing Zhou c23a61bd5c fix s3 link (#1310) 2020-03-04 21:01:29 +08:00
Minjie Wang 5967d81782 [Doc] Re-organize API docs and tutorials (#1222)
* reorg tutorials and api docs

* fix
2020-01-26 21:26:34 +08:00
Mufei Li a199b58a6a Fix (#1195) 2020-01-12 02:47:29 +08:00
John Andrilla 41114b8758 [Doc] Tree-LSTM in DGL, edit pass for readability (#1031)
* [Doc] Tree-LSTM in DGL, edit pass for readability

Edit for grammar and style. 
How about deleting the last line? "Besides, you..." It needs a transition or some context.

* Update tutorials/models/2_small_graph/3_tree-lstm.py

* Update tutorials/models/2_small_graph/3_tree-lstm.py
2019-12-17 14:14:18 +08:00
John Andrilla f36a451420 [Doc] Old wines new title, edit for grammar and style (#1027)
* Old wines new title, edit for grammar and style

new descriptive title here and an edit pass @aaronmarkham

* Update tutorials/models/4_old_wines/README.txt
2019-12-16 11:24:58 +08:00
Da Zheng 48c7ec4427 [Doc] Fix gcn tutorial (#1080)
* don't have activation.

* add evaluation.

* address comment.
2019-12-10 02:10:51 -08:00
John Andrilla 7784f0668d [Doc] Small graphs readme.txt, edit pass (#1030)
* [Doc] Small graphs readme.txt, edit pass

Edit for grammar and style. Should this be an .rst on .txt?

* Update README.txt
2019-12-05 13:48:39 +08:00
John Andrilla 5fc7eb6d97 [Doc] Generative models, edit pass (#1035)
* [Doc] Generative models, edit pass

Edit for grammar and style. Can you clarify "Instead of and/or"?

* Update tutorials/models/3_generative_model/5_dgmg.py

* Update tutorials/models/3_generative_model/5_dgmg.py

Co-Authored-By: Aaron Markham <markhama@amazon.com>

* Update tutorials/models/3_generative_model/5_dgmg.py

Co-Authored-By: Aaron Markham <markhama@amazon.com>

* Update tutorials/models/3_generative_model/5_dgmg.py

Co-Authored-By: Aaron Markham <markhama@amazon.com>

* Update tutorials/models/3_generative_model/5_dgmg.py

Co-Authored-By: Aaron Markham <markhama@amazon.com>
2019-12-03 09:38:47 +08:00
John Andrilla f45178c334 [Doc] Generative models, edit for readability (#1033)
Edit pass for grammar and style
2019-12-02 14:54:10 +08:00
John Andrilla d6dfaa9b74 [Doc] Capsule network tutorial, edit pass (#1026)
Edited for grammar and style.
2019-12-01 22:26:51 +08:00
John Andrilla 10b104dd35 [Doc] Transformer tutorial, edit for readability (#1025)
Edit pass for grammar and style
2019-12-01 11:25:51 +08:00
John Andrilla a2b8d8e4e7 [Doc] Giant graph tutorial edit for grammar and style (#1020)
* Edit for readability

* giant_graph_readme edit for grammar

* NodeFlow and Sampling edit pass for grammar

* Update tutorials/models/1_gnn/9_gat.py

* Update tutorials/models/1_gnn/9_gat.py
2019-11-30 12:31:59 +08:00
John Andrilla dd09f15fa7 [Doc] Stochastic steady-state embedding (SSE) Edit for readability
Revisions for grammar and style
2019-11-30 11:37:17 +08:00
John Andrilla 22d4de77a0 [Doc] 6_line_graph.py Edit pass (#1003)
* Edit pass

Updates for grammar and readability

* Update tutorials/models/1_gnn/6_line_graph.py

* Update tutorials/models/1_gnn/6_line_graph.py

* Update tutorials/models/1_gnn/6_line_graph.py
2019-11-29 13:53:43 +08:00
John Andrilla 287f387b8c Edit for readability (#1002)
Grammar and style updates
2019-11-29 10:53:11 +08:00
John Andrilla 8ae9770f9b [Doc] Graph neural network and its variant Edit for grammar and style (#992)
* Edit for grammar and style

Improve readability

* Update tutorials/models/1_gnn/README.txt

Co-Authored-By: Aaron Markham <markhama@amazon.com>

* Update tutorials/models/1_gnn/README.txt

Co-Authored-By: Aaron Markham <markhama@amazon.com>
2019-11-28 15:44:58 +08:00
xiang song(charlie.song) 82499e602b [Bug Fix] Fix package reliability bug of networkx (#949)
* upd

* fig edgebatch edges

* add test

* trigger

* Update README.md for pytorch PinSage example.

Add noting that the PinSage model example under
example/pytorch/recommendation only work with Python 3.6+
as its dataset loader depends on stanfordnlp package
which work only with Python 3.6+.

* Provid a frame agnostic API to test nn modules on both CPU and CUDA side.

1. make dgl.nn.xxx frame agnostic
2. make test.backend include dgl.nn modules
3. modify test_edge_softmax of test/mxnet/test_nn.py and
    test/pytorch/test_nn.py work on both CPU and GPU

* Fix style

* Delete unused code

* Make agnostic test only related to tests/backend

1. clear all agnostic related code in dgl.nn
2. make test_graph_conv agnostic to cpu/gpu

* Fix code style

* fix

* doc

* Make all test code under tests.mxnet/pytorch.test_nn.py
work on both CPU and GPU.

* Fix syntex

* Remove rand

* Add TAGCN nn.module and example

* Now tagcn can run on CPU.

* Add unitest for TGConv

* Fix style

* For pubmed dataset, using --lr=0.005 can achieve better acc

* Fix style

* Fix some descriptions

* trigger

* Fix doc

* Add nn.TGConv and example

* Fix bug

* Update data in mxnet.tagcn test acc.

* Fix some comments and code

* delete useless code

* Fix namming

* Fix bug

* Fix bug

* Add test for mxnet TAGCov

* Add test code for mxnet TAGCov

* Update some docs

* Fix some code

* Update docs dgl.nn.mxnet

* Update weight init

* Fix

* reproduce the bug

* Fix concurrency bug reported at #755.
Also make test_shared_mem_store.py more deterministic.

* Update test_shared_mem_store.py

* Update dmlc/core

* networkx >= 2.4 will break our examples

* Update tutorials/requirements

* fix selfloop edges

* upd version
2019-10-29 23:34:31 -04:00
Da Zheng c2b8af452c change the backend to mxnet. (#894) 2019-10-01 23:42:21 -07:00
Da Zheng be58224f0e [CI] enable tutorial test in CI. (#631)
* enable tutorial test in CI.

* reduce overhead.
2019-06-13 02:31:36 -07:00
Minjie Wang e16e895d53 [Doc] fix some document warnings (#645)
* fix doc

* fix some format and warnings

* fix
2019-06-11 13:41:41 -04:00
Minjie Wang ebbb6296f9 [Doc] doc page for builtin functions (#642)
* doc page for builtin functions; install from source doc

* upload rst

* update
2019-06-10 18:29:28 -04:00
VoVAllen c5ab5b7204 [Doc] Tutorial minor fix (#601)
* minor fix

* Update 2_giant.py
2019-06-03 19:13:18 +08:00
Da Zheng 0554824830 [Doc] fix the giant graph tutorial (#591)
* fix.

* fix.
2019-06-01 14:37:17 -07:00
Da Zheng f728839bb7 [Doc] tutorial of components for giant graph (#590)
* tutorial.

* update images.
2019-05-31 17:37:43 +08:00
Da Zheng acefb9a9f0 [BUGFIX] fix the problems in the sampling tutorial. (#523)
* add index.

* update.

* update tutorial.
2019-05-07 18:19:07 -07:00
Da Zheng edf3951c18 [Tutorial] add sampling tutorial. (#522)
* add sampling tutorial.

* add readme

* update author list.

* fix indent in the code.

* rename the file.

* update tutorial.

* fix the last API.

* update image.
2019-05-07 17:29:18 -07:00
Hao Zhang ca48787ae4 fix tutorial (#506)
* Update 9_gat.py

* Update 1_gcn.py
2019-04-23 15:30:59 +08:00
Quan (Andy) Gan 681e5217dd [Refactor] Sampler code refactor (#454)
* refactored sampler code

* docstring

* fix tutorial
2019-03-18 10:41:35 -04:00
Da Zheng bea07b41b3 [Sampler] fix the API of neighbor sampler. (#407)
* don't return aux_info.

* fix sampler test.

* fix sse.

* fix.

* add comment.
2019-02-28 13:45:21 -08:00
Mufei Li 3f891b64b7 [Tutorial] Fix gat tutorial (#420) 2019-02-28 11:10:14 -05:00
Hao Zhang 98ff82e527 [Doc] Tutorial for GAT (#400)
* 9_gat.py

* readme

* Update 9_gat.py

* Update 9_gat.py

* fix format
2019-02-20 22:50:55 -05:00
Da Zheng f370e628cd [Feature] add NodeFlow API (#361)
* sample layer subgraphs.

* fix.

* fix.

* add layered subgraph.

* fix lint.

* fix.

* fix tutorial.

* fix.

* remove copy_to_parent.

* add num_layers

* move sampling code to sampler.cc

* fix.

* move subgraph construction out.

* Revert "move subgraph construction out."

This reverts commit 24b3d13b0d8ed5f91847ea75a7674ee8f7d45cff.

* change to NodeFlow.

* use NodeFlow in Python.

* use NodeFlowIndex.

* add node_mapping and edge_mapping.

* remove unnecessary code in SSE tutorial.

* Revert "remove unnecessary code in SSE tutorial."

This reverts commit 093f0413d5fa2e63ca5f80c46c80a126a9fb720c.

* fix tutorial.

* move to node_flow.

* update gcn cv updater.

* import NodeFlow.

* update.

* add demo code for vanilla control variate sampler.

* update.

* update.

* add neighbor sampling.

* return flow offsets.

* update node_flow.

* add test.

* fix sampler.

* fix graph index.

* fix a bug in sampler.

* fix map_to_layer_nid and map_to_flow_eid.

* fix apply_flow.

* remove model code.

* implement flow_compute.

* fix a bug.

* reverse the csr physically.

* add mini-batch test.

* add mini batch test.

* update flow_compute.

* add prop_flows

* run on specific nodes.

* test copy

* fix a bug in creating frame in NodeFlow.

* add init gcn_cv_updater.

* fix a minor bug.

* fix gcn_cv_updater.

* fix a bug.

* fix a bug in NodeFlow.

* use new h in gcn_cv_updater.

* add layer_in_degree and layer_out_degree.

* fix gcn_cv_updater for gpu.

* temp fix in NodeFlow for diff context.

* allow enabling/disabling copy back.

* add with-updater option.

* fix a bug in computing degree.

* add with-cv option.

* rename and add comments.

* fix lint complain.

* fix lint.

* avoid assert.

* remove assert.

* fix.

* fix.

* fix.

* fix.

* fix the methods in NodeFlow.

* fix lint.

* update SSE.

* remove gcn_cv_updater.

* correct comments for the schedulers.

* update comment.

* add map_to_nodeflow_nid

* address comment.

* remove duplicated test.

* fix int.

* fix comments.

* fix lint

* fix.

* replace subgraph with NodeFlow.

* move view.

* address comments.

* fix lint.

* fix lint.

* remove static_cast.

* fix docstring.

* fix comments.

* break SampleSubgraph.

* move neighbor sampling to sampler.cc

* fix comments.

* rename.

* split neighbor_list.

* address comments.

* fix.

* remove TODO.
2019-02-19 15:49:28 -08:00
Zihao Ye ae1806f651 [Bugfix] RGCN tutorial (#388)
* fix rgcn tutorial

* small fix

* upd
2019-02-15 11:14:56 +08:00
brett koonce 707334ce85 minor spelling tweaks (#349)
* minor spelling tweaks

* Update CONTRIBUTORS.md
2019-01-10 12:02:31 -05:00
Minjie Wang 6f9ae8d61e [Doc] main doc page update and contribute guide (#336)
* reorg the doc mainpage

* contribute guide
2019-01-04 17:02:37 -05:00
Da Zheng 01e8794f12 [Doc] Show MXNet examples (#318)
* update GNN tutorial.

* Update README.txt
2018-12-17 15:25:13 -05:00
Lingfan Yu 0cbe521b99 [Doc] Fix document building for multiple tensor backends (#301)
* remove loading backend in sse

* build mxnet in a second run

* a third run to fix everything

* fix docstring in sampler

* fix docstring in transformer

* README for doc build

* some reordering and printing

* use filename_pattern instead of ignore_pattern to reduce warning at the cost of redundant work...

* add env var to use mxnet in Jenkinsfile

* remove step 3, it's already fixed by previous commit
2018-12-12 11:07:46 -05:00
Minjie Wang af23c45726 [Release] update version (#297)
* update version; add news.md; modify contributing.md

* change urls to dmlc
2018-12-11 15:40:51 -05:00
Zihao Ye 8bc01c6309 [Tutorial] Tutorial fix (SSE link & Transformer) (#285)
* upd tutorial

* upd tutorial
2018-12-10 11:26:19 -05:00