Question: 03 04 05 Use the Graph Given below to answer the following questions: (1,3,4] b) A [2,3,4] B [1,2,4] a) Calculate the attention value
03 04 05 Use the Graph Given below to answer the following questions: (1,3,4] b) A [2,3,4] B [1,2,4] a) Calculate the attention value between two nodes (A,B) i. Input for attention calculation: (4 marks) Generate node feature by one-hot encoding Output length of node feature set after transformation is 8 Initialize W and attention parameter(a) matrix with integer value between 2 to 4 only Use SoftMax normalize for attention value. Calculate the Node feature set of A after 1st iteration as per GAT b) only e Use Soft Max normalize for attention value. Calculate the Node feature set of A after 1st iteration as per GAT 1. Input: e Let attention between (A,B) = 0.32 and attention between (A,C) = .45 Use one-hot encoding to generate node feature vector Output size of feature set is 6 Max value is Permutation invariant function (4 marks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
