Files
dgl/docs/source/api/python/dgl.sampling.rst
Quan (Andy) Gan 90f10b31cb [Feature] Negative sampling (#3599)
* first commit

* a bunch of fixes

* add unique

* lint

* lint

* lint

* address comments

* Update negative_sampler.py

* fix

* description

* address comments and fix

* fix

* replace unique with replace

* test pylint

* Update negative_sampler.py
2022-01-07 18:26:14 +08:00

36 lines
552 B
ReStructuredText

.. _api-sampling:
dgl.sampling
=================================
.. automodule:: dgl.sampling
Random walk
------------------------------
.. autosummary::
:toctree: ../../generated/
random_walk
node2vec_random_walk
pack_traces
Neighbor sampling
---------------------------
.. autosummary::
:toctree: ../../generated/
sample_neighbors
sample_neighbors_biased
select_topk
PinSAGESampler
Negative sampling
-----------------
.. autosummary::
:toctree: ../../generated/
global_uniform_negative_sampling