You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For every `N` head entities and `M` relationship types, the function returns `N*M` rows.
329
+
For every `N` head entities and `M` relationship types, the function returns `N*M` rows
330
330
The result object is pandas DataFrame with the following columns:
331
331
332
332
.Predict result
@@ -352,6 +352,89 @@ The result object is pandas DataFrame with the following columns:
352
352
353
353
|====
354
354
355
+
=== Triplets scoring
356
+
357
+
Function `score_triplets` is used to compute the scores for the given triplets.
358
+
Triplets are represented as a list of tuples `(head, relation, tail)`, where `head` and `tail` are node IDs and can be obtained using the `gds.find_node_id` function.
359
+
`relation` is a string representing the relationship type.
0 commit comments