文件历史

8 次代码提交

作者 SHA1 备注 提交日期
Theheavens 5498cf051e [Doc]Fix examples on negative graph sampler (#2863)
* Fix examples on negative graph sampler

In heterogeneous graph, the old example may build a negative graph without edges. In dgl.dataloading.dataloader line637, it shows the key of neg_edges dict should be item in g.canonical_etypes.

* poke ci

Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com>
2021-05-06 21:34:31 +08:00
Quan (Andy) Gan 99751d4960 [Doc] Rename block to message flow graph (#2702)
* rename block to mfg

* revert

* rename
2021-02-25 18:26:19 +08:00
zhjwy9343 31f65f036a [Doc] user guide CN chapter 6 (#2452)
* [Doc] Add 1st CN in chapter 6

* [Doc] Add 1st CN in chapter 6

* [Doc] Add 1st CN in chapter 6.1

* [Doc] Add 1st CN in chapter 6.1

* [Doc] Add 1st CN in chapter 6.2

* [Doc] Add CN in chapter 6.2

* [Doc] Add CN in chapter 6.3

* [Doc] Fix a code bug in chapter 6.3

* [Doc] Add CN in chapter 6.4, 6.5, and 6.6.

* [Doc] Add CN in chapter 6.4, 6.5, and 6.6,then remove EN parts.

* [Doc] revised 6.4, 6.5, and 6.6.

* [Doc] 2nd round of copyediting.

* Delete syn1.bin

Remove this unrelated file to this branch

* [Doc] Update guide_cn index.rst.

* [Doc] Update guide_cn index.rst.

* [Doc] Update guide_cn index.rst.

* [Doc] Update guide_cn index.rst.

* [Doc] Add chapter 7 in index page

* [Doc] edit chapter 6 in PR

* [Doc] edit chapter 6 in PR

* [Doc] Copyediting with Murphy and Minjie's comments.

* [Doc] Fix doc line in the previous chapters.

Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com>
Co-authored-by: Mufei Li <mufeili1996@gmail.com>
Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com>
2021-01-13 17:12:33 +08:00
Quan (Andy) Gan 4507bebc1a add compute_loss example in link prediction user guide (#2487) 2021-01-06 14:27:51 +08:00
Quan (Andy) Gan 535aa3d33a [Doc]modify the wrong code in initialize the hetero_graph negative sampler (#2382) (#2411)
* modify the wrong code in initialize the hetero_graph negative sampler

the etype in hetero graph should be name of edges
self.weights = {
            etype: g.in_degrees(etype=etype).float() ** 0.75
            for _, etype, _ in g.canonical_etypes
        }
the original code will give etype a Tuple format, it cannot apply to the next processing:
self.weights[etype].multinomial(len(src), replacement=True)
and I add the part which confusing me to generate eid_dict

* fix

Co-authored-by: Quan Gan <coin2028@hotmail.com>

Co-authored-by: Shaow <coco11563@yeah.net>
2020-12-09 23:41:02 +08:00
Quan (Andy) Gan 6bc92068dd [Doc] fix minibatch user guide broken code (#2233) 2020-09-27 11:28:34 +08:00
Quan (Andy) Gan 9eaace9216 rename create_format_ to create_formats_ (#2126) 2020-08-29 22:49:27 +08:00
Minjie Wang 5cb5759366 [Doc] split docs to multiple rst files (#2037) 2020-08-17 19:02:31 +08:00