合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務(wù)合肥教育合肥招聘合肥旅游文化藝術(shù)合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務(wù)合肥法律

        COMP9312代做、Java/c++編程設(shè)計(jì)代寫

        時(shí)間:2024-07-30  來(lái)源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯(cuò)



        The University of New South Wales - COMP9312 - 24T2 - Data
        Analytics for Graphs
        Assignment 2
        Distributed Graph Processing, Feature Engineering,
        and Graph Neural Networks
        Important updates:
        Update @ 25 Jul 2024
        Fix the error or the weight matrix W and make the GAT layer
        formulation clearer in Q2.1.
        Summary
        Submission Submit an electronic copy of all answers on Moodle
        (Only the last submission will be used).
        Required
        Files
        A .pdf file is accepted. The file name should be
        ass2_zid.pdf
        Deadline 9 pm Friday 2 August (Sydney Time)
        Marks 20 marks (10% toward your total marks for this
        course)
        Late penalty. 5% of max assessment marks will be deducted for each
        additional day (24 hours) after the specified submission time and date.
        No submission is accepted 5 days (120 hours) after the deadline.
        START OF QUESTIONS
        Q1 (3 marks)
        2024/7/25 11:34 COMP9312 24T2 Assignment 2
        https://cgi.cse.unsw.edu.au/~cs9312/24T2/assignment/ass2/ 1/5
        Figure 1
        Figure 2 Figure 3
        1.1 Are the graphs in Figure 1 and Figure 2 homomorphic? If so,
        demonstrate a matching instance. (1 mark)
        1.2 Present all unique subgraphs in Figure 1 that are isomorphic to the
        graph in Figure 3. For example, { }, {
        }, and { } are all considered as
        the same subgraph 123. (2 marks)
        Marking for Q1.1: 1 mark is given for the correct answer. 0 mark is
        given for all other cases.
        Marking for Q1.2: 2 marks are given if the result subgraphs are
        correct, complete, and not redundant. Extra subgraphs and missing
        subgraphs will result in a loss of marks.
        Q2 (5 marks)
        2.1 Given an undirected graph as shown in Figure 4,
        Figure 4
        we aim to compute the output of the first graph convolutional layer
        with self-loops using the Graph Attention Network (GAT) model. The
        goal is to transform the initial node embeddings from a dimension of 4
        to a dimension of 5 through this layer. The equation can be written as:
        v1 : 1, v2 : 2, v3 : 3
        v1 : 2, v2 : 1, v3 : 3 v1 : 3, v2 : 1, v3 : 2
        H 1
        2024/7/25 11:34 COMP9312 24T2 Assignment 2
        https://cgi.cse.unsw.edu.au/~cs9312/24T2/assignment/ass2/ 2/5
        where indicates the -dimensional embedding of node in layer ,
        and . is the
        weighting factor of node 's message to node .
        denotes the weight matrix for the neighbours of in layer , denotes
        the dimension of the node embedding in layer . denotes the
        non-linear function. The initial embedding for all nodes is
        stacked in . is the weight matrices. Self-loops are included in
        the calculation to ensure that the node's information is retained.
        Therefore, the term is added to its set of neighbors, which can be
        expressed as . Round the values to 2 decimal places (for
        example, 3.333 will be rounded to 3.33 and 3.7571 will be rounded to
        3.76). (3 marks)
        2.2 Please determine whether the following statements are TRUE or
        FALSE. (2 marks)
        a. Skip-connections is a good technique used to alleviate over-
        smoothing.
        b. To design a model for predicting dropout on a course website, we
        represent it as a bipartite graph where nodes indicate students or
        courses. The task here is considered as node classification.
        c. Graph Attention Network (GAT) has less expressive power
        compared to GCN, as it computes the attention score between
        each pair of neighbors, which introduces extra computational
        complexity.
        d. The main difference between GraphSAGE and GCN is that
        GraphSAGE needs an activation function to add nonlinearity.
        Marking for Q2.1: 3 marks are given for the correct result. Incorrect
        values will result in a deduction of marks. Providing a detailed and
        correct description of the calculation will earn marks for a valid
        attempt, even if there are major mistakes in the result.
        Marking for Q2.2: 0.5 mark is given for each correct TRUE/FALSE
        answer.
        Q3 (8 marks)
        h(l)v =      
        u  N(v)  {v}
          vuW (l)h
        (l?1)
        hlv dl v l
        H l = [hlv1, h
        l
        v2, h
        l
        v3, h
        l
        v4, h
        l
        v5, h
        l
        v6]
        T avu = 1|N(v)  {v}|
        u v W (l)    Rdl?dl?1
        v l dl
        l   (?)
        ReLU
        H 0 W 1
        v
        {v}    N(v)
        H 0 =
        2024/7/25 11:34 COMP9312 24T2 Assignment 2
        https://cgi.cse.unsw.edu.au/~cs9312/24T2/assignment/ass2/ 3/5
        Figure 5
        Suppose we aim to count the number of shortest paths from a source
        vertex to all other vertices in an undirected unweighted graph shown
        using Pregel.
        3.1 Write the pseudocode for the compute implementation in Pregel. (3
        marks)
        3.2 Assume we run your algorithm with the source node 1 for the graph
        in Figure 5 on three workers. Vertices 1 and 5 are in worker X. Vertices
        2 and 4 are in worker Y. Vertices 3, 6 and 7 are in worker Z. Please
        indicate the set of active vertices and how many messages are sent in
        each iteration. (3 marks)
        3.3 Can the combiner optimization be used in this case? If yes, write
        the pseudocode for a combiner implementation. Calculate how many
        messages are sent in each iteration if the combiner is used in 3.2. If no,
        briefly discuss why a combiner cannot be used. (2 marks)
        Marking for Q3.1: 3 marks are given for the correct answer. 0 mark is
        given for all other cases.
        Marking for Q3.2: 2 marks are given for the correct answer. 0 mark is
        given for all other cases.
        Marking for Q3.3: 3 marks are given for the correct answer. 0 mark is
        given for all other cases.
        Q4 (4 marks)
        Consider the graph in Figure 6,
        2024/7/25 11:34 COMP9312 24T2 Assignment 2
        https://cgi.cse.unsw.edu.au/~cs9312/24T2/assignment/ass2/ 4/5
        Figure 6
        Figure 7
        4.1 Compute the betweenness centrality and closeness centrality of
        nodes C and H in Figure 6. Round the values to 2 decimal places (for
        example, 3.333 will be rounded to 3.33 and 3.7571 will be rounded to
        3.76). (2 marks)
        4.2 Given the graphlets in Figure 7, derive the graphlet degree vector
        (GDV) for nodes A and G. Note that only the induced matching
        instances are considered in GDV. (2 marks)
        Marking for Q4.1: 1 mark is given for correct betweenness centrality
        values. 1 mark is given for correct closeness centrality values.
        Marking for Q4.2: 1 mark is given for each correct vector. Incorrect
        values in each vector will result in a deduction of marks.
        END OF QUESTIONS
        2024/7/25 11:34 COMP9312 24T2 Assignment 2


        請(qǐng)加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp


         

        掃一掃在手機(jī)打開(kāi)當(dāng)前頁(yè)
      1. 上一篇:代寫INFS1603、代做 c++/Java 程序語(yǔ)言
      2. 下一篇:代寫DDES9903、代做C/C++,Python設(shè)計(jì)編程
      3. 無(wú)相關(guān)信息
        合肥生活資訊

        合肥圖文信息
        急尋熱仿真分析?代做熱仿真服務(wù)+熱設(shè)計(jì)優(yōu)化
        急尋熱仿真分析?代做熱仿真服務(wù)+熱設(shè)計(jì)優(yōu)化
        出評(píng) 開(kāi)團(tuán)工具
        出評(píng) 開(kāi)團(tuán)工具
        挖掘機(jī)濾芯提升發(fā)動(dòng)機(jī)性能
        挖掘機(jī)濾芯提升發(fā)動(dòng)機(jī)性能
        海信羅馬假日洗衣機(jī)亮相AWE  復(fù)古美學(xué)與現(xiàn)代科技完美結(jié)合
        海信羅馬假日洗衣機(jī)亮相AWE 復(fù)古美學(xué)與現(xiàn)代
        合肥機(jī)場(chǎng)巴士4號(hào)線
        合肥機(jī)場(chǎng)巴士4號(hào)線
        合肥機(jī)場(chǎng)巴士3號(hào)線
        合肥機(jī)場(chǎng)巴士3號(hào)線
        合肥機(jī)場(chǎng)巴士2號(hào)線
        合肥機(jī)場(chǎng)巴士2號(hào)線
        合肥機(jī)場(chǎng)巴士1號(hào)線
        合肥機(jī)場(chǎng)巴士1號(hào)線
      4. 短信驗(yàn)證碼 酒店vi設(shè)計(jì) NBA直播 幣安下載

        關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

        Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網(wǎng) 版權(quán)所有
        ICP備06013414號(hào)-3 公安備 42010502001045

        日韩人妻激情制服丝袜另类| 久久精品无码一区二区WWW| 一区二区三区精品视频| 国产精品久久久久网站| 亚洲av永久无码精品秋霞电影秋| 97精品久久天干天天蜜| 久久国产精品国产精品| 日韩精品无码视频一区二区蜜桃| jizz国产精品网站| 精品在线一区二区| 日韩内射美女人妻一区二区三区 | 国产精品手机在线亚洲| 亚洲精品V天堂中文字幕| 四虎精品视频在线永久免费观看| 99ri精品国产亚洲| 日韩人妻精品一区二区三区视频 | 久久精品国产福利国产秒| CHINESE中国精品自拍| 国产精品videossex白浆| 香蕉视频在线精品| 亚洲日韩一区二区三区| 亚洲日韩国产精品第一页一区| 国产精品va在线观看手机版| 精品久久久99大香线蕉| 苍井空亚洲精品AA片在线播放| 国产乱人伦偷精品视频免| 久久这里只精品99re66| 窝窝午夜看片成人精品| 无码人妻精品一区二区三区99性| 国产精品自产拍在线观看| 日本中文字幕在线精品| 国产福利在线观看精品| 777精品成人影院| 99视频精品全部在线观看| 国产成人精品日本亚洲专区6| 2020国产精品| 亚洲av永久无码精品秋霞电影秋| 国产精品无码亚洲精品2021| 精品国产亚洲第一区二区三区| 国产精品视频1区| 中文字幕日韩在线观看|