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 2 commits
  3. 22 Nov, 2018 2 commits
  4. 20 Nov, 2018 1 commit
    • Da Zheng's avatar
      Fix the convergence problem in SSE. (#162) · 5f89cd66
      Da Zheng authored
      * add a test.
      
      * move file.
      
      * debug
      
      * add degree normalization.
      
      * it can converge now.
      
      * remove hidden_data.
      
      * use readonly graph index.
      
      * use subgraph loader.
      
      * refactor code and remove intermediate data.
      
      * split inference.
      
      * mix cpu and gpu training.
      
      * fix mxnet sparse_matrix constructor.
      
      * convert tensor context.
      
      * set up the prediction model.
      
      * load mxnet csr directly.
      
      * add timing.
      
      * move test_sse.py to sse_batch.py
      
      * fix the tensor version of SSE.
      
      * update README.
      5f89cd66
  5. 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
  6. 14 Nov, 2018 1 commit
    • Da Zheng's avatar
      [API] Subgraph sampling API. (#138) · 2389df81
      Da Zheng authored
      * 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.
      2389df81
  7. 13 Nov, 2018 1 commit
  8. 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
  9. 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
  10. 08 Nov, 2018 3 commits
    • Da Zheng's avatar
      [MXNet][API] move to the new API (#123) · bd0e4fa0
      Da Zheng authored
      * move gat to the new api.
      
      * fix gcn.
      
      * update sse.
      
      * fix dgl core.
      
      * update sse.
      
      * fix small bugs in dgl core.
      
      * fix mxnet tests.
      
      * retrigger
      
      * address comments and fix more bugs.
      
      * fix
      
      * fix tests.
      bd0e4fa0
    • 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
  11. 04 Nov, 2018 2 commits
  12. 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
  13. 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
  14. 26 Oct, 2018 1 commit
    • Da Zheng's avatar
      [GraphIndex] Immutable graph index using MXNet CSRArray (#86) · 9e9a9488
      Da Zheng authored
      * add immutable graph index.
      
      * update ImmutableGraphIndex.
      
      * add benchmarks of subgraph generation.
      
      * fix node_subgraphs.
      
      * use scipy synthetic data in immutable graph.
      
      * create immutable_graph.
      
      * use spmv in gcn.
      
      * fix immutable graph index.
      
      * update graph index.
      
      * create ImmutableSubgraphIndex.
      
      * return subgraph node and edge mapping.
      
      * fix benchmark.
      
      * add mapping to subgraph nid.
      
      * test in_edges and out_edges.
      
      * update benchmark.
      
      * Fix immutable subgraph.
      
      * complete in_edges and out_edges.
      
      * fix benchmarks.
      
      * add test on node_subgraphs
      
      * add sse.
      
      * construct subgraphs in parallel.
      
      * add in/out degree(s).
      
      * make immutable graph index backend-specific.
      
      * implement has_edge(s) and edge_id(s).
      
      * Revert "use spmv in gcn."
      
      This reverts commit 9cfed5f5fb3dd2ed9b98745348b1c0e9731ed7f7.
      
      * implement node_subgraphs in GraphIndex.
      
      * fix sse.
      
      * address comments.
      
      * address comments.
      
      * Update mxnet docker.
      9e9a9488
  15. 22 Oct, 2018 1 commit
  16. 19 Oct, 2018 1 commit
  17. 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
  18. 14 Oct, 2018 3 commits
    • Da Zheng's avatar
      [BACKEND] Add MXNet backend. (#77) · 5567f4a4
      Da Zheng authored
      * support mxnet.
      
      * add mxnet version of GCN.
      
      * rename mxnet.nd as F.
      
      * add mxnet GAT.
      
      * enable GPU for GCN.
      
      * fix MXNet GCN train.
      
      * Use adam to optimize GAT
      
      * support more operators.
      
      * support sparse arrays.
      
      * update mxnet backend.
      
      * support index_copy.
      
      * remove NN.
      
      * update mxnet backend.
      
      * temp check in.
      
      * fix data conversion.
      
      * add test.
      
      * clean up mxnet backend.
      
      * update mxnet examples.
      
      * Revert "remove NN."
      
      This reverts commit d815d9a0ec619f9ce9099c48cd35db9d8e947483.
      
      * temp disable MXNet version of NN.
      5567f4a4
    • GaiYu0's avatar
      Update README.md · f31b6fd2
      GaiYu0 authored
      f31b6fd2
    • GaiYu0's avatar
      README.md · 8738ebfa
      GaiYu0 authored
      8738ebfa
  19. 10 Oct, 2018 1 commit
  20. 08 Oct, 2018 1 commit
  21. 06 Oct, 2018 2 commits
  22. 04 Oct, 2018 3 commits
  23. 01 Oct, 2018 2 commits
  24. 25 Sep, 2018 2 commits
  25. 04 Sep, 2018 1 commit
  26. 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
  27. 29 Aug, 2018 1 commit