1. 28 Nov, 2018 1 commit
    • Mufei Li's avatar
      [Model] Fix + batched DGMG (#175) · a0d0b1ea
      Mufei Li authored
      * DGMG with batch size 1
      
      * Fix
      
      * Adjustment
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Fix has_node and __contains__
      
      * Batched implementation for DGMG
      
      * Remove redundant dependency
      
      * Adjustment
      
      * Fix
      
      * Add comments
      a0d0b1ea
  2. 27 Nov, 2018 1 commit
  3. 22 Nov, 2018 2 commits
  4. 15 Nov, 2018 1 commit
    • Zihao Ye's avatar
      [DOC][Model] Update Tree-LSTM (#152) · 53b9a4bd
      Zihao Ye authored
      * update tree lstm
      
      * tree_lstm (new interface)
      
      * simplify pop
      
      * merge qipeng(root)
      
      * upd tree-lstm & tutorial
      
      * upd model
      
      * new capsule tutorial
      
      * capsule for new API
      
      * fix deprecated API
      
      * New tutorial and example
      
      * investigate gc problem
      
      * add viz code
      
      * new capsule tutorial
      
      * remove ipynb
      
      * move u_hat
      
      * add link
      
      * add requirements.txt
      
      * remove ani.save
      
      * update ci to install requirements
      
      * utf-8
      
      * change seed
      
      * graphviz requirement
      
      * accelerate
      
      * little format
      
      * update some markup
      53b9a4bd
  5. 13 Nov, 2018 1 commit
  6. 12 Nov, 2018 1 commit
    • VoVAllen's avatar
      [Doc][Model] New Capsule Tutorial & Example (#143) · 7cb50072
      VoVAllen authored
      * new capsule tutorial
      
      * capsule for new API
      
      * fix deprecated API
      
      * New tutorial and example
      
      * investigate gc problem
      
      * add viz code
      
      * new capsule tutorial
      
      * remove ipynb
      
      * move u_hat
      
      * add link
      
      * add requirements.txt
      
      * remove ani.save
      
      * update ci to install requirements
      
      * add graphviz
      7cb50072
  7. 09 Nov, 2018 1 commit
    • Minjie Wang's avatar
      [API] Message propagation APIs (#127) · 8ea359d1
      Minjie Wang authored
      * add examples in traversal.py
      
      * message propagate methods
      
      * use the new message propagation for tree-lstm
      
      * update to the new name
      
      * update propagate API doc
      
      * update doc
      
      * add propagate utest
      8ea359d1
  8. 08 Nov, 2018 2 commits
    • Zihao Ye's avatar
      [Model] Adapt Tree-LSTM to new interface (#122) · 1eb17bb0
      Zihao Ye authored
      * tree_lstm (new interface)
      
      * simplify pop
      1eb17bb0
    • GaiYu0's avatar
      [API] Graph traversal (#103) · 23191674
      GaiYu0 authored
      * bfs, dfs and topological traversal
      
      * dfs and test cases
      
      * Conflicts:
      	python/dgl/graph.py
      	src/graph/graph.cc
      	src/graph/graph_op.cc
      
      * documentation
      
      * requested changes
      
      * Conflicts:
      	Jenkinsfile
      	examples/pytorch/gcn/gcn.py
      	examples/pytorch/gcn/gcn_spmv.py
      	python/dgl/graph.py
      	python/dgl/graph_index.py
      	src/graph/graph.cc
      	src/graph/graph_op.cc
      
      * Conflicts:
      	Jenkinsfile
      	python/dgl/graph_index.py
      
      * fix lint errors
      
      * fix lint errors
      
      * fix lint errors
      
      * fix test cases
      
      * requested changes
      
      * traversal interface
      
      * [Bug] fixed a typo that caused syntax error (#120)
      
      * WIP
      
      * bfs nodes generator works
      
      * topological traversal
      
      * WIP: dfs_edges
      
      * dfs edges
      
      * dfs labeled edges
      
      * utest for traversal
      
      * fix lint
      
      * fix utest
      
      * code clean
      
      * changes as requested
      23191674
  9. 04 Nov, 2018 2 commits
  10. 02 Nov, 2018 1 commit
    • Minjie Wang's avatar
      [API][Doc] API change & basic tutorials (#113) · 68ec6247
      Minjie Wang authored
      * Add SH tutorials
      
      * setup sphinx-gallery; work on graph tutorial
      
      * draft dglgraph tutorial
      
      * update readme to include document url
      
      * rm obsolete file
      
      * Draft the message passing tutorial
      
      * Capsule code (#102)
      
      * add capsule example
      
      * clean code
      
      * better naming
      
      * better naming
      
      * [GCN]tutorial scaffold
      
      * fix capsule example code
      
      * remove previous capsule example code
      
      * graph struc edit
      
      * modified:   2_graph.py
      
      * update doc of capsule
      
      * update capsule docs
      
      * update capsule docs
      
      * add msg passing prime
      
      * GCN-GAT tutorial Section 1 and 2
      
      * comment for API improvement
      
      * section 3
      
      * Tutorial API change (#115)
      
      * change the API as discusses; toy example
      
      * enable the new set/get syntax
      
      * fixed pytorch utest
      
      * fixed gcn example
      
      * fixed gat example
      
      * fixed mx utests
      
      * fix mx utest
      
      * delete apply edges; add utest for update_edges
      
      * small change on toy example
      
      * fix utest
      
      * fix out in degrees bug
      
      * update pagerank example and add it to CI
      
      * add delitem for dataview
      
      * make edges() return form that is compatible with send/update_edges etc
      
      * fix index bug when the given data is one-int-tensor
      
      * fix doc
      68ec6247
  11. 27 Oct, 2018 2 commits
    • Mufei Li's avatar
      [NN] Fix GCN module (#99) · 2758c249
      Mufei Li authored
      1. Update `examples/pytorch/gcn` and `python/dgl/nn/pytorch` based on the latest APIs
      2. Add full support for dropout in `examples/pytorch/gcn` and `python/dgl/nn/pytorch`
      3. Rename `GCN` class in `python/dgl/nn/pytorch` to be `GraphConvolutionLayer` class
      4. Make node field an argument that can be configured by users in GraphConvolutionLayer
      
      Note that adjacency normalization has not been supported yet in the examples. 
      2758c249
    • VoVAllen's avatar
      [Model] Capsule (#95) · d0ea98be
      VoVAllen authored
      * add capsule example
      
      * clean code
      
      * better naming
      
      * better naming
      
      * Clean Codes based on pytorch MNIST example
      
      * Clean codes
      
      * Add README
      d0ea98be
  12. 22 Oct, 2018 1 commit
  13. 19 Oct, 2018 1 commit
  14. 18 Oct, 2018 1 commit
    • Minjie Wang's avatar
      [Frame] Refactor frame. (#85) · b9631912
      Minjie Wang authored
      * refactor frame codes
      
      * fix unit test
      
      * fix gcn example
      
      * minor doc/message changes
      
      * raise errors for non-exist columns in FrameRef; sanity check when append
      
      * fix unittest; change error msg
      
      * Add warning for none initializer
      
      * fix unittest
      
      * use warnings package
      b9631912
  15. 14 Oct, 2018 2 commits
  16. 10 Oct, 2018 1 commit
  17. 08 Oct, 2018 1 commit
  18. 06 Oct, 2018 2 commits
  19. 04 Oct, 2018 3 commits
  20. 01 Oct, 2018 2 commits
  21. 25 Sep, 2018 2 commits
  22. 04 Sep, 2018 1 commit
  23. 01 Sep, 2018 1 commit
    • Minjie Wang's avatar
      Builtin function and API changes (#53) · 61fa3c6c
      Minjie Wang authored
      * 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
      61fa3c6c
  24. 29 Aug, 2018 1 commit
  25. 28 Aug, 2018 1 commit
    • Gan Quan's avatar
      Fix 0deg update_to and Tree-LSTM model (#51) · b7eb1659
      Gan Quan authored
      * 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
      b7eb1659
  26. 23 Aug, 2018 1 commit
  27. 22 Aug, 2018 1 commit
    • Minjie Wang's avatar
      Many fix and updates (#47) · 6105e441
      Minjie Wang authored
      * subgraph copy from
      
      * WIP
      
      * cached members
      
      * Change all usage of id tensor to the new Index object; remove set device in DGLGraph;
      
      * subgraph merge API tested
      
      * add dict type reduced msg test
      6105e441
  28. 16 Aug, 2018 2 commits
    • Lingfan Yu's avatar
      bug fix · 1f16f29b
      Lingfan Yu authored
      1f16f29b
    • Lingfan Yu's avatar
      Deep Generative Models of Graphs (#14) · 96179b0c
      Lingfan Yu authored
      * model code for generative graphs
      
      * batched version for dynamic graph generation using padding
      
      * renaming function train back to forward
      
      * remove old util function for padding DGMG
      
      * override networkx clear to reset state, add dgl.nn
      
      * Dynamic graph without batching
      
      * use relative import path
      
      * load dataset, pad batch
      
      * bug fix
      
      * experimental batch and unbatch
      
      * dgmg batched version
      
      * minor tweak
      
      * move preprocessing padding into data loading
      
      * batch graph test code
      
      * minor
      
      * batched graph class and test cases
      
      * make dgl.nn.gcn a simple layer plus minor fix
      
      * update dgmg model
      
      * test forward using attribute field
      
      * use frame append, minor changes
      
      * moving networkx operations out of forward
      
      * revert some changes
      
      * remove structural immutability check
      96179b0c
  29. 10 Aug, 2018 1 commit
    • Minjie Wang's avatar
      GAT model (#37) · ee241699
      Minjie Wang authored
      * GAT model
      
      * fix output projection to have only one head
      ee241699