1. 07 Mar, 2020 2 commits
  2. 06 Mar, 2020 1 commit
  3. 02 Mar, 2020 1 commit
    • Minjie Wang's avatar
      [Feature] Improve sampling speed; Better pickle/unpickle; other fixes (#1299) · 5dd35580
      Minjie Wang authored
      * improve performance of sample_neighbors
      
      * some more improve
      
      * test script
      
      * benchmarks
      
      * multi process
      
      * update more tests
      
      * WIP
      
      * adding two API for state saving
      
      * add create from state
      
      * upd test
      
      * missing file
      
      * wip: pickle/unpickle
      
      * more c apis
      
      * find the problem of empty data array
      
      * add null array; pickling speed is bad
      
      * still bad perf
      
      * still bad perf
      
      * wip
      
      * fix the pickle speed test; now everything looks good
      
      * minor fix
      
      * bugfix
      
      * some lint fix
      
      * address comments
      
      * more fix
      
      * fix lint
      
      * add utest for random.choice
      
      * add utest for dgl.rand_graph
      
      * fix cpp utests
      
      * try fix ci
      
      * fix bug in TF backend
      
      * upd choice docstring
      
      * address comments
      
      * upd
      
      * try fix compile
      
      * add comment
      5dd35580
  4. 17 Feb, 2020 1 commit
    • Minjie Wang's avatar
      [Feature] Neighbor-hood based sampling APIs (#1251) · f8d4264e
      Minjie Wang authored
      * WIP: working on random choices
      
      * light slice
      
      * basic CPU impl
      
      * add python binding; fix CreateFromCOO and CreateFromCSR returning unitgraph
      
      * simple test case works
      
      * fix bug in slicing probability array
      
      * fix bug in getting the correct relation graph
      
      * fix bug in creating placeholder graph
      
      * enable omp
      
      * add cpp test
      
      * sample topk
      
      * add in|out_subgraph
      
      * try fix lint; passed all unittests
      
      * fix lint
      
      * fix msvc compile; add sorted flag and constructors
      
      * fix msvc
      
      * coosort
      
      * COOSort; CSRRowWiseSampling; CSRRowWiseTopk
      
      * WIP: remove DType in CSR and COO; Restrict data array to be IdArray
      
      * fix all CSR ops for missing data array
      
      * compiled
      
      * passed tests
      
      * lint
      
      * test sampling out edge
      
      * test different per-relation fanout/k values
      
      * fix bug in random choice
      
      * finished cpptest
      
      * fix compile
      
      * Add induced edges
      
      * add check
      
      * fixed bug in sampling on hypersparse graph; add tests
      
      * add ascending flag
      
      * in|out_subgraph returns subgraph and induced eid
      
      * address comments
      
      * lint
      
      * fix
      f8d4264e
  5. 10 Feb, 2020 1 commit
  6. 08 Feb, 2020 1 commit
  7. 04 Feb, 2020 1 commit
    • Quan (Andy) Gan's avatar
      [Feature] Preference to COO for "hypersparse" unit graphs & graph compaction (#1238) · eeeb52f4
      Quan (Andy) Gan authored
      * unit graph that prefers coo queries
      
      * auto detect coo preference
      
      * forgot some functions
      
      * disable lint on detect_prefer_coo
      
      * reorg
      
      * change comment
      
      * lint
      
      * fix
      
      * move array_utils.h to src
      
      * compact graph impl
      
      * fix redundant copying in idhashmap
      
      * docstring
      
      * moving preference detection to C
      
      * lint
      
      * fix unit test & address comments
      
      * hypersparse autorestrict
      
      * docstring & fix
      
      * revert copyto and asnumbits
      
      * fix stupid bug
      
      * lint
      
      * leave a TODO for sorted COO
      
      * fixing same node type mapping to different id in different graphs
      
      * addresses comments
      
      * made induced nodes a feautre column
      
      * lint?
      eeeb52f4
  8. 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
  9. 23 Aug, 2019 1 commit
    • Quan (Andy) Gan's avatar
      [Hetero][RFC] Heterogeneous graph Python interfaces & Message Passing (#752) · 52d4535b
      Quan (Andy) Gan authored
      * moving heterograph index to another file
      
      * node view
      
      * python interfaces
      
      * heterograph init
      
      * bug fixes
      
      * docstring for readonly
      
      * more docstring
      
      * unit tests & lint
      
      * oops
      
      * oops x2
      
      * removed node/edge addition
      
      * addressed comments
      
      * lint
      
      * rw on frames with one node/edge type
      
      * homograph with underlying heterograph demo
      
      * view is not necessary
      
      * bugfix
      
      * replace
      
      * scheduler, builtins not working yet
      
      * moving bipartite.h to header
      
      * moving back bipartite to bipartite.h
      
      * oops
      
      * asbits and copyto for bipartite
      
      * tested update_all and send_and_recv
      
      * lightweight node & edge type retrieval
      
      * oops
      
      * sorry
      
      * removing obsolete code
      
      * oops
      
      * lint
      
      * various bug fixes & more tests
      
      * UDF tests
      
      * multiple type number_of_nodes and number_of_edges
      
      * docstring fixes
      
      * more tests
      
      * going for dict in initialization
      
      * lint
      
      * updated api as per discussions
      
      * lint
      
      * bug
      
      * bugfix
      
      * moving back bipartite impl to cc
      
      * note on views
      
      * fix
      52d4535b
  10. 27 Jul, 2019 1 commit
    • Minjie Wang's avatar
      [Hetero] Heterograph C++ implementation; Bipartite and Python wrapper (#725) · 7ad663c3
      Minjie Wang authored
      * finish bipartite graph implementation; compiled
      
      * finished heterograph implementation; compiled
      
      * WIP: apis
      
      * C API codes
      
      * compiled
      
      * WIP: python
      
      * HeteroGraphIndex
      
      * WIP: test
      
      * add DGLContext support in ffi
      
      * fix bug in has edge
      
      * unittests except edge subgraph
      
      * edge subgraph
      
      * fix lint
      
      * address comments
      
      * poke ci
      
      * try fix
      
      * fix msvc
      7ad663c3