1. 08 Oct, 2019 3 commits
    • Quan (Andy) Gan's avatar
      minor docstring fix (#910) · a1cdc7a5
      Quan (Andy) Gan authored
      a1cdc7a5
    • Quan (Andy) Gan's avatar
      [Hetero][Tutorial] Heterograph tutorials (#878) · 3ee7e112
      Quan (Andy) Gan authored
      * heterograph tutorial skeleton
      
      * [WIP][Tutorial] Heterogeneous graph tutorial
      
      * fix
      
      * update
      3ee7e112
    • xiang song(charlie.song)'s avatar
      [Bug fix] Fix concurrency bug reported at issue#755 (#823) · fd1b1474
      xiang song(charlie.song) authored
      * 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
      fd1b1474
  2. 07 Oct, 2019 2 commits
  3. 06 Oct, 2019 4 commits
  4. 04 Oct, 2019 2 commits
  5. 03 Oct, 2019 3 commits
  6. 02 Oct, 2019 4 commits
    • Da Zheng's avatar
      [KG][Model] Knowledge graph embeddings (#888) · 15b951d4
      Da Zheng authored
      * 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
      
      * init version.
      
      * change default value of regularization.
      
      * avoid specifying adversarial_temperature
      
      * use default eval_interval.
      
      * remove original model.
      
      * remove optimizer.
      
      * set default value of num_proc
      
      * set default value of log_interval.
      
      * don't need to set neg_sample_size_valid.
      
      * remove unused code.
      
      * use uni_weight by default.
      
      * unify model.
      
      * rename model.
      
      * remove unnecessary data sampler.
      
      * remove the code for checkpoint.
      
      * fix eval.
      
      * raise exception in invalid arguments.
      
      * remove RowAdagrad.
      
      * remove unsupported score function for now.
      
      * Fix bugs of kg
      Update README
      
      * Update Readme for mxnet distmult
      
      * Update README.md
      
      * Update README.md
      
      * revert changes on dmlc
      
      * add tests.
      
      * update CI.
      
      * add tests script.
      
      * reorder tests in CI.
      
      * measure performance.
      
      * add results on wn18
      
      * remove some code.
      
      * rename the training script.
      
      * new results on TransE.
      
      * remove --train.
      
      * add format.
      
      * fix.
      
      * use EdgeSubgraph.
      
      * create PBGNegEdgeSubgraph to simplify the code.
      
      * fix test
      
      * fix CI.
      
      * run nose for unit tests.
      
      * remove unused code in dataset.
      
      * change argument to save embeddings.
      
      * test training and eval scripts in CI.
      
      * check Pytorch version.
      
      * fix a minor problem in config.
      
      * fix a minor bug.
      
      * fix readme.
      
      * Update README.md
      
      * Update README.md
      
      * Update README.md
      15b951d4
    • Da Zheng's avatar
      fix compile error on Mac. (#896) · 1c00f3a8
      Da Zheng authored
      1c00f3a8
    • Da Zheng's avatar
      [Test] reduce test. (#895) · d0eae92e
      Da Zheng authored
      * reduce test.
      
      * increase timeout for unittest.
      d0eae92e
    • Da Zheng's avatar
      change the backend to mxnet. (#894) · c2b8af45
      Da Zheng authored
      c2b8af45
  7. 01 Oct, 2019 1 commit
  8. 30 Sep, 2019 3 commits
  9. 29 Sep, 2019 1 commit
    • Minjie Wang's avatar
      [Hetero][Model] RGCN for heterogeneous input (#885) · 1c91f460
      Minjie Wang authored
      * new hetero RGCN
      
      * bgs running
      
      * fix gpu
      
      * am dataset
      
      * fix bug in label preparation
      
      * Fix AM training; add result
      
      * rm sym link
      
      * new embed layer; mutag
      
      * mutag matched; other fix
      
      * minor fix
      
      * dataset refactor
      
      * new data loading
      
      * rm old files
      
      * refactor
      
      * docstring
      
      * include literal nodes in AIFB dataset
      
      * address comments
      
      * docstring
      1c91f460
  10. 28 Sep, 2019 4 commits
    • Da Zheng's avatar
      Sort csr (#886) · 65e1ba4f
      Da Zheng authored
      * sort
      
      * sort in parallel.
      
      * fix a bug in sorting adj
      
      * rename.
      
      * add more comments.
      
      * accelerate GetData
      
      * fix tests.
      
      * avoid sorting multiple times.
      
      * add test.
      
      * change back.
      
      * sort.
      
      * add sort_csr.
      
      * Fix a bug.
      
      * fix.
      
      * revert modifcation.
      
      * rename
      
      * speed up EdgeIds.
      65e1ba4f
    • VoVAllen's avatar
      [Fix] Fix serialize NDArray when shape is 0 (#884) · 54e1ef2e
      VoVAllen authored
      * fix
      
      * fix bugs
      54e1ef2e
    • VoVAllen's avatar
      Add contributor (#887) · 599ed868
      VoVAllen authored
      * Update CONTRIBUTORS.md
      
      * Update CONTRIBUTORS.md
      599ed868
    • Zardinality's avatar
      [Model] Add Pytorch example for Cluster GCN (#877) · 51a73504
      Zardinality authored
      * initial commit of cluster GCN
      
      * update readme
      
      * fix small bugs running ppi
      
      * nearly sota ppi training script&update readme
      
      * rm unused imports&add shebang line to scripts
      
      * minor comments&readme appended
      
      * add rnd seed control&update readme
      51a73504
  11. 27 Sep, 2019 2 commits
    • Mufei Li's avatar
      [Model][Hetero] HAN (#868) · c03046a0
      Mufei Li authored
      * Add HAN
      
      * Fix
      
      * WIP; load raw ACM dataset
      
      * DGL's own preprocessing with metapath coalescer
      
      * various fixes
      
      * comparison against simple logistic regression
      
      * rename
      
      * fix test
      c03046a0
    • VoVAllen's avatar
      [Fix] Fix Transform (#876) · e16667bf
      VoVAllen authored
      * add transform
      
      * lint
      
      * lint
      
      * fix
      
      * fixmx
      
      * fix
      
      * add test
      
      * fix typo
      
      * fix default num_classes
      
      * change to non-inplace operation
      
      * fix lint
      
      * fix
      
      * fix
      
      * fix lint
      
      * fixlint
      e16667bf
  12. 26 Sep, 2019 3 commits
    • Minjie Wang's avatar
      [Model][Hetero] GCMC using new hetero APIs (#860) · 9737b270
      Minjie Wang authored
      * init
      
      * rm data
      
      * README
      
      * fix rating values that are not decimal
      
      * rm stale codes
      
      * small fix
      
      * upd
      
      * rewrite decoder
      
      * fix many
      
      * many fix; performance matched
      
      * upd; handle sparse input
      
      * upd
      
      * address comments
      
      * more docstring; download data automatically
      
      * shared param mode
      9737b270
    • Quan (Andy) Gan's avatar
      [Sampler] Metapath sampler for metapath2vec (#861) · e3921d5d
      Quan (Andy) Gan authored
      * metapath sampler
      
      * lint & fixes
      
      * lint x2
      
      * lint x3
      
      * fix windows
      
      * remove max_cycle argument
      
      * add todo note
      e3921d5d
    • Da Zheng's avatar
      Improve edge sampler (#881) · 1db697ec
      Da Zheng authored
      * optimizer for sampling all negative edges.
      
      * allow to disable checking false negative.
      
      * fix lint.
      
      * fix docstring.
      
      * fix for comment.
      
      * add comments.
      1db697ec
  13. 23 Sep, 2019 1 commit
  14. 22 Sep, 2019 2 commits
  15. 20 Sep, 2019 1 commit
  16. 19 Sep, 2019 1 commit
  17. 17 Sep, 2019 1 commit
    • Minjie Wang's avatar
      [Hetero] New syntax (#824) · 9b4d6079
      Minjie Wang authored
      * WIP. remove graph arg in NodeBatch and EdgeBatch
      
      * refactor: use graph adapter for scheduler
      
      * WIP: recv
      
      * draft impl
      
      * stuck at bipartite
      
      * bipartite->unitgraph; support dsttype == srctype
      
      * pass test_query
      
      * pass test_query
      
      * pass test_view
      
      * test apply
      
      * pass udf message passing tests
      
      * pass quan's test using builtins
      
      * WIP: wildcard slicing
      
      * new construct methods
      
      * broken
      
      * good
      
      * add stack cross reducer
      
      * fix bug; fix mx
      
      * fix bug in csrmm2 when the CSR is not square
      
      * lint
      
      * removed FlattenedHeteroGraph class
      
      * WIP
      
      * prop nodes, prop edges, filter nodes/edges
      
      * add DGLGraph tests to heterograph. Fix several bugs
      
      * finish nx<->hetero graph conversion
      
      * create bipartite from nx
      
      * more spec on hetero/homo conversion
      
      * silly fixes
      
      * check node and edge types
      
      * repr
      
      * to api
      
      * adj APIs
      
      * inc
      
      * fix some lints and bugs
      
      * fix some lints
      
      * hetero/homo conversion
      
      * fix flatten test
      
      * more spec in hetero_from_homo and test
      
      * flatten using concat names
      
      * WIP: creators
      
      * rewrite hetero_from_homo in a more efficient way
      
      * remove useless variables
      
      * fix lint
      
      * subgraphs and typed subgraphs
      
      * lint & removed heterosubgraph class
      
      * lint x2
      
      * disable heterograph mutation test
      
      * docstring update
      
      * add edge id for nx graph test
      
      * fix mx unittests
      
      * fix bug
      
      * try fix
      
      * fix unittest when cross_reducer is stack
      
      * fix ci
      
      * fix nx bipartite bug; docstring
      
      * fix scipy creation bug
      
      * lint
      
      * fix bug when converting heterograph from homograph
      
      * fix bug in hetero_from_homo about ntype order
      
      * trailing white
      
      * docstring fixes for add_foo and data views
      
      * docstring for relation slice
      
      * to_hetero and to_homo with feature support
      
      * lint
      
      * lint
      
      * DGLGraph compatibility
      
      * incidence matrix & docstring fixes
      
      * example string fixes
      
      * feature in hetero_from_relations
      
      * deduplication of edge types in to_hetero
      
      * fix lint
      
      * fix
      9b4d6079
  18. 16 Sep, 2019 2 commits