Leomrlin opened a new pull request, #736:
URL: https://github.com/apache/geaflow/pull/736
This PR implements `ConsolidateFunction` and its corresponding `Operator`
using relative vector constructions for relation representation in graph
memory, including:
- **Relative Embedding** variants:
- **Common Embedding**: `C = A ⊙ B` (Hadamard product capturing shared
features)
- Query relevance: `cos(Q, A ⊙ B)` measures intersection alignment with
query `Q`
- **Difference Embedding**: `Diff(B→A) = normalize(A - (A·B)B)`
- Query relevance: `cos(Q, Diff(B→A))` detects directional feature
divergence from `B` to `A` under `Q`
- **Cosine Distance Metric**: `Dist(A,B) = 1 - cos(A,B)`
- Preference detection: `delta = cos(Q,B) - cos(Q,A)` quantifies
relative affinity shift
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]