Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
da2f690a
Unverified
Commit
da2f690a
authored
Feb 23, 2021
by
Quan (Andy) Gan
Committed by
GitHub
Feb 23, 2021
Browse files
[Doc] Clarify link prediction tutorial (#2673)
* link prediction clarification * fix
parent
7298173a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
tutorials/blitz/4_link_predict.py
tutorials/blitz/4_link_predict.py
+7
-3
No files found.
tutorials/blitz/4_link_predict.py
View file @
da2f690a
...
@@ -37,9 +37,7 @@ import scipy.sparse as sp
...
@@ -37,9 +37,7 @@ import scipy.sparse as sp
# either citing or being cited, between two papers exists in a citation
# either citing or being cited, between two papers exists in a citation
# network.
# network.
#
#
# This tutorial follows a relatively simple practice from
# This tutorial formulates the link prediction problem as a binary classification
# `SEAL <https://papers.nips.cc/paper/2018/file/53f0d7c537d99b3824f0f99d62ea2428-Paper.pdf>`__.
# It formulates the link prediction problem as a binary classification
# problem as follows:
# problem as follows:
#
#
# - Treat the edges in the graph as *positive examples*.
# - Treat the edges in the graph as *positive examples*.
...
@@ -50,6 +48,12 @@ import scipy.sparse as sp
...
@@ -50,6 +48,12 @@ import scipy.sparse as sp
# - Evaluate the model with any binary classification metric such as Area
# - Evaluate the model with any binary classification metric such as Area
# Under Curve (AUC).
# Under Curve (AUC).
#
#
# .. note::
#
# The practice comes from
# `SEAL <https://papers.nips.cc/paper/2018/file/53f0d7c537d99b3824f0f99d62ea2428-Paper.pdf>`__,
# although the model here does not use their idea of node labeling.
#
# In some domains such as large-scale recommender systems or information
# In some domains such as large-scale recommender systems or information
# retrieval, you may favor metrics that emphasize good performance of
# retrieval, you may favor metrics that emphasize good performance of
# top-K predictions. In these cases you may want to consider other metrics
# top-K predictions. In these cases you may want to consider other metrics
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment