Question about the adjacent matrix
See original GitHub issueHi~
In your abstract, you said “In this work, we propose Attention Guided Graph Convolutional Networks (AGGCNs), a novel model which directly takes full dependency trees as inputs”, but I don’s see how do you make use of the dependency tree.
According to Equation (2), seems you just construct the $\tilde{A}$ by using the input embeddings, so where do you make use of the original adjacency matrix $A$?
In your code, I still cannot confirm how do you make use of $A$, which is adj
in your code, right?
https://github.com/Cartus/AGGCN_TACRED/blob/master/model/aggcn.py#L175
Could you please show me the details? And by the way, that is the matrix $V$ in your Equation (2)? I can not find the definition of $V$ neither.
Issue Analytics
- State:
- Created 4 years ago
- Comments:18 (6 by maintainers)
Top Results From Across the Web
Data Structure Questions and Answers – Adjacency Matrix
This set of Data Structure Multiple Choice Questions & Answers (MCQs) focuses on “Adjacency Matrix”. 1. The number of elements in the adjacency...
Read more >Adjacency Matrices
Question: Which vertices are connected by a two-edge sequence? How many different two-edge sequences connect each pair of vertices?
Read more >Newest 'adjacency-matrix' Questions - Math Stack Exchange
An adjacency matrix is a square matrix used to represent a finite graph. The elements of the matrix indicate whether pairs of vertices...
Read more >7.4. An Adjacency Matrix - Open Book Project
The adjacency matrix is a good implementation for a graph when the number of edges is large. But what do we mean by...
Read more >Adjacency Matrix - Definition, Properties, Theorems, Graphs ...
The adjacency matrix is a connection matrix containing rows and columns used to represent a simple labelled graph. Learn how to create it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @liuyijiang1994 ,
Thanks for the question. Actually they are basically the same. I read a paper few weeks ago. The paper discusses about the GNNs and Transformer model, which might be useful. They also have a nice summary of these works including different GNNs and different self-attention methods.
Contextualized Non-local Neural Networks for Sequence Learning https://arxiv.org/abs/1811.08600#
@TranVanHien Sorry, I can not, I realized I can never figure out these complicated experiment settings and then I decided to give up doing relation extraction task two months ago