File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,13 @@ embeddings and get literals from a given Knowledge Graph (KG) and entities:
143143 # Mediterranean', 'Member states of the United Nations'), 0.939]
144144 # ]
145145
146+ If you are using a dataset other than MUTAG (where the interested entities have
147+ no parents in the KG), it is **highly recommended ** to specify
148+ ``with_reverse=True `` (defaults to ``False ``) in the walking strategy (e.g.,
149+ ``RandomWalker ``). Such a parameter **allows Word2Vec ** to have a better
150+ learning window for an entity based on its parents and children and thus
151+ **predict test data with better accuracy **.
152+
146153In a more concrete way, we provide a blog post with a tutorial on how to use
147154``pyRDF2Vec `` `here
148155<https://towardsdatascience.com/how-to-create-representations-of-entities-in-a-knowledge-graph-using-pyrdf2vec-82e44dad1a0> `__.
You can’t perform that action at this time.
0 commit comments