Какую использовать функцию узла в алгоритме hinSAGE?

У меня есть график с этой информацией:

      StellarDiGraph: Directed multigraph
Nodes: 1417, Edges: 1988

Node types:
ParagraphA: [429]
Features: float32 vector, length 1417
Edge types: A-contains->D, A-contains->F, A-contains->E
PrecedentB: [332]
Features: float32 vector, length 1417
Edge types: none
GesetzbuchC: [225]
Features: float32 vector, length 1417
Edge types: C-contains->D, C-contains->A
AbsatzD: [223]
Features: float32 vector, length 1417
Edge types: D-contains->F, D-contains->E
Judgment: [100]
Features: float32 vector, length 1417
Edge types: Judgment-refers to->D, Judgment-refers to->C, Judgment-refers to->F, Judgment-refers to->A, Judgment-refers to->A, ... (1 more)
SatzE: [55]
Features: float32 vector, length 1417
Edge types: E-contains->F
NummerF: [53]
Features: float32 vector, length 1417
Edge types: none

Edge types:
Judgment-refers to->A: [472]
Weights: all 1 (default)
Features: none
C-contains->A: [429]
Weights: all 1 (default)
Features: none
Judgment-refers to->B: [350]
Weights: all 1 (default)
Features: none
Judgment-refers to->D: [265]
Weights: all 1 (default)
Features: none
A-contains->D: [221]
Weights: all 1 (default)
Features: none
Judgment-refers to->F: [75]
Weights: all 1 (default)
Features: none
Judgment-refers to->E: [65]
Weights: all 1 (default)
Features: none
D-contains->E: [40]
Weights: all 1 (default)
Features: none
D-contains->F: [28]
Weights: all 1 (default)
Features: none
A-contains->E: [15]
Weights: all 1 (default)
Features: none
A-contains->F: [15]
Weights: all 1 (default)
Features: none
E-contains->F: [10]
Weights: all 1 (default)
Features: none
C-contains->D: [2]
Weights: all 1 (default)
Features: none
Judgment-refers to->C: [1]
Weights: all 1 (default)
Features: none

Я хочу использовать hinSAGE, чтобы получить встраивание узлов только узлов типа «Judgment» и использовать другие типы в качестве информации, как это описано в документации hinSAGE. Одна из проблем с моим графиком заключается в том, что у меня нет никаких функций узла. Однако я вычисляю векторное представление текста решения bevorhead. Хорошая ли идея использовать это векторное представление в качестве узла для узлов «Суд»?

0 ответов

Другие вопросы по тегам