1. 21 Nov, 2018 1 commit
  2. 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
  3. 19 Nov, 2018 1 commit
  4. 17 Nov, 2018 1 commit
  5. 16 Nov, 2018 1 commit
    • Gan Quan's avatar
      Pickling support (#155) · 79a51025
      Gan Quan authored
      * pickling support
      
      * resorting to suggested way of pickling
      
      * custom attribute pickling check
      
      * working around a weird pytorch pickling bug
      
      * including partial frame case
      
      * pickling everything now
      
      * fix as requested
      79a51025
  6. 15 Nov, 2018 3 commits
  7. 14 Nov, 2018 2 commits
    • 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
    • Minjie Wang's avatar
      [GraphIndex] refactor graph caching (#150) · 048f6d7a
      Minjie Wang authored
      * refactor graph caching
      
      * fix mx test
      
      * fix typo
      048f6d7a
  8. 13 Nov, 2018 2 commits
  9. 12 Nov, 2018 4 commits
    • Minjie Wang's avatar
      [CI] add graphviz (#147) · cd3e25a0
      Minjie Wang authored
      cd3e25a0
    • 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
    • Minjie Wang's avatar
      [CI] Improved CI (#141) · a95459e3
      Minjie Wang authored
      * change ci
      
      * update ci
      
      * update ci
      
      * update ci
      
      * update ci
      
      * update ci
      
      * update ci
      
      * update ci
      
      * update ci
      
      * update ci
      
      * update ci
      
      * update ci
      
      * update ci
      
      * update ci
      
      * update ci
      
      * update ci
      
      * nx package
      
      * update ci
      
      * update ci
      
      * update ci
      
      * fix
      
      * mx dockerfile by zhengda
      
      * python3.6->3.5
      
      * update ci image
      
      * add tutorial test
      
      * fix ci
      
      * fix ssl problem
      
      * minor change
      
      * small fix on traversal utest
      
      * fix syntax
      
      * add matplotlib in image
      
      * fix
      
      * update ci
      
      * update ci
      a95459e3
    • Gan Quan's avatar
      better bfs edge test (#142) · 7cbb83db
      Gan Quan authored
      7cbb83db
  10. 11 Nov, 2018 3 commits
  11. 10 Nov, 2018 2 commits
    • Minjie Wang's avatar
      [Doc] docstring for SST dataset (#133) · 6d96a97f
      Minjie Wang authored
      6d96a97f
    • Gan Quan's avatar
      [API] Readout interfaces (#124) · 40ca5de4
      Gan Quan authored
      * fixing builtin src*edge shape mismatch
      
      * bundled function refactor (?)
      
      * fixing names
      
      * readout prototype
      
      * oops
      
      * more fixes
      
      * removing readout prototype
      
      * sum_on() with SPMV, fixing batching with 0 edges
      
      * readouts with segmented sum
      
      * typo (??????)
      
      * fixes NLTK dependency (#125)
      
      * misc fixes including #126 (pushing again)
      
      * sanity check for mxnet
      
      * fixes NLTK dependency (#125) and #126
      
      * reverting to sum_nodes/edges
      40ca5de4
  12. 09 Nov, 2018 5 commits
  13. 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
  14. 05 Nov, 2018 3 commits
  15. 04 Nov, 2018 2 commits
  16. 03 Nov, 2018 1 commit
  17. 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
  18. 01 Nov, 2018 1 commit
    • Gan Quan's avatar
      [Frame] Support slice type indexing; optimize dgl.batch (#110) · 2ecd2b23
      Gan Quan authored
      * cherry picking optimization from jtnn
      
      * unbatch by slicing frames
      
      * reduce pack
      
      * oops
      
      * support frame read/write with slices
      
      * reverting to unbatch by splitting; slicing is unfriendly to backward
      
      * replacing lru cache with static object factory
      
      * replacing Scheme object with namedtuple
      
      * remove comment
      
      * forgot the find edges interface
      
      * subclassing namedtuple
      2ecd2b23
  19. 30 Oct, 2018 1 commit
    • Mufei Li's avatar
      Support for adding nodes/edges after setting representations (#114) · 9827e481
      Mufei Li authored
      * Fix
      
      1. Fix two typos in gcn.py and gcn_spmv.py
      2. Update README
      
      * Fix GCN module
      
      1. Update the outdated graph convolution layer class
      2. Fix a bug in the code where dropout never works. Modules like dropout/batch norm depend on whether we are in the training stage or inference stage.
      
      * Fix a bug in dropout
      
      1. dropout depends on nn.Module.training
      
      * Update GCN module
      
      * Fix README
      
      * Fix dropout & remove self.msg_field
      
      * Fix
      
      * Align with TF implementation
      
      * Make g an argument for forward
      
      * Remove features from the argument of GraphConv layer
      
      * Support for create nodes/edges after setting representations
      
      * Remove redundant commit
      
      * Delete test_init_repr.py
      
      * Test case for dynamic addition
      
      * Base 'add_rows' upon 'append'
      
      * Move test function
      
      * Fix
      
      * test by assertion
      
      * changed add_rows to adding blank rows only; adding convert_to to backend
      
      * moving test to basics
      
      * oops mxnet
      9827e481
  20. 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