"...git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "c0f5346a207bdbf1f7be0b3a539fefae89287ca4"
Unverified Commit 2489f579 authored by Gleb Bazhenov's avatar Gleb Bazhenov Committed by GitHub
Browse files

[Doc] fix the paper link in `dgl.data.utils.add_node_property_split` (#5909)


Co-authored-by: default avatarRhett Ying <85214957+Rhett-Ying@users.noreply.github.com>
parent a49c6ddc
...@@ -491,7 +491,7 @@ def add_nodepred_split(dataset, ratio, ntype=None): ...@@ -491,7 +491,7 @@ def add_nodepred_split(dataset, ratio, ntype=None):
def mask_nodes_by_property(property_values, part_ratios, random_seed=None): def mask_nodes_by_property(property_values, part_ratios, random_seed=None):
"""Provide the split masks for a node split with distributional shift based on a given """Provide the split masks for a node split with distributional shift based on a given
node property, as proposed in `Evaluating Robustness and Uncertainty of Graph Models node property, as proposed in `Evaluating Robustness and Uncertainty of Graph Models
Under Structural Distributional Shifts <https://arxiv.org/abs/2302.13875v1>`__ Under Structural Distributional Shifts <https://arxiv.org/abs/2302.13875>`__
It considers the in-distribution (ID) and out-of-distribution (OOD) subsets of nodes. It considers the in-distribution (ID) and out-of-distribution (OOD) subsets of nodes.
The ID subset includes training, validation and testing parts, while the OOD subset The ID subset includes training, validation and testing parts, while the OOD subset
...@@ -569,7 +569,7 @@ def add_node_property_split( ...@@ -569,7 +569,7 @@ def add_node_property_split(
): ):
"""Create a node split with distributional shift based on a given node property, """Create a node split with distributional shift based on a given node property,
as proposed in `Evaluating Robustness and Uncertainty of Graph Models Under as proposed in `Evaluating Robustness and Uncertainty of Graph Models Under
Structural Distributional Shifts <https://arxiv.org/abs/2302.13875v1>`__ Structural Distributional Shifts <https://arxiv.org/abs/2302.13875>`__
It splits the nodes of each graph in the given dataset into 5 non-intersecting It splits the nodes of each graph in the given dataset into 5 non-intersecting
parts based on their structural properties. This can be used for transductive node parts based on their structural properties. This can be used for transductive node
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment