日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

代做 COMPSCI 753、代寫 Python,c/c++編程設計

時間:2024-08-12  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



Algorithms for Massive Data
Assignment 1 / Semester 2, 2024 Graph Mining
General instructions and data
This assignment aims at exploring the PageRank algorithm on big real-world network data. By working on this assignment, you will learn how to implement some of the PageRank algorithms that we have learned in class.
Data: Download the web-Google web dataset ’web-Google-final.txt’ from the assignment page on Canvas1. Each line of the file represents a directed edge from a source node to a destination node. There are N = 875713 nodes. Nodes are represented by numeric IDs ranging from 0 to 875712.
Submission
Please submit: (1) a file (.pdf or .html) that reports the answers requested for each task, and (2) a source code file (.py or .ipynb) that contains your code and detailed comments. Submit this on the Canvas assignment page by 23:59 NZST, Sunday 11 August. The files must contain your student ID, UPI and name.
Penalty Dates
The assignment will not be accepted after the last penalty date unless there are special circumstances (e.g., sickness with certificate). Penalties will be calculated as follows as a percentage of the marks for the assignment.
• 23:59 NZST, Sunday 11 August – No penalty
• 23:59 NZST, Monday 12 August – 25% penalty • 23:59 NZST, Tuesday 13 August – 50% penalty
1This dataset is adapted from SNAP http://snap.stanford.edu/data/web-Google.html
 
Tasks (100 points)
Task 1 [40 points]: Implementation of Power Iteration Algorithm.
In this task you will implement the basic version of the Power Iteration algorithm for PageR- ank. This task involves two sub-tasks, as follows:
(A) [25 points] Implement the power iteration algorithm in matrix form to calculate the rank vector r, without teleport, using the PageRank formulation:
r(t+1) = M · r(t)
The matrix M is an adjacency matrix representing nodes and edges from your downloaded dataset, with rows representing destination nodes and columns representing source nodes. This matrix is sparse2. Initialize r(0) = [1/N, . . . , 1/N]T . Let the stop criteria of your power iteration algorithm be ||r(t+1) − r(t)||1 < 0.02 (please note the stop criteria involves the L1 norm). Spider traps and dead ends are not considered in this first task.
(B) [15 points] Run your code on the provided Google web data to calculate the rank score for all the nodes. Report: (1) The running time of your power iteration algorithm; (2) The number of iterations needed to stop; (3) The IDs and scores of the top-10 ranked nodes.
Task 2 [10 points]: Understanding dead-ends.
In this task, before extending your code to support dead-ends using teleport, you will run some analysis on your current implementation from Task 1. This second task involves two sub-tasks:
(A) [5 points] Calculate and report the number of dead-end nodes in your matrix M.
(B) [5 points] Calculate the leaked PageRank score in each iteration of Task 1 (B). The leaked PageRank score is the total score you lose in that iteration because of dead-ends (hint: see example on slide 2 of W1.3 lecture notes). Create a plot that shows how this leaked score behaves as iterations progress. Explain the phenomenon you observe from this visualization.
2Consider using a sparse matrix (e.g., use scipy.sparse in Python) in your implementation, so that your algorithm should stop within a few seconds in a basic computer. If your algorithm can’t stop within several minutes, you may want to check your implementation.
 1

Task 3 [50 points]: Implementation of Power Iteration with Teleport.
In this task, you will extend your implementation from Task 1 using the teleport mechanism to handle both dead-ends and spider traps. This task involves three sub-tasks:
(A) [25 points] Extend your PageRank code to handle both spider traps and dead ends using the idea of teleport. In this task, your implementation will allow to teleport randomly to any node. Code the PageRank with teleport formulation that, using the sparse matrix M, for each iteration works in three steps (slide 8 of W1.3 lecture notes):
Step 1: Calculate the r ranks of current iteration rnew (in matrix form): rnew =βM·rold
Step 2: Calculate the constant S for teleport:
S = 􏰀 rnew
j j
Step 3: Update rnew with teleport:
rnew = rnew + (1 − S)/N
In your implementation, use β = 0.9. Initialize r(0) = [1/N,...,1/N]T. The stop criteria should be ||rnew − rold||1 < 0.02.
(B) [15 points] Run your code on the provided Google web data to calculate the rank score for all the nodes. Report: (1) The running time; (2) The number of iterations needed to stop; (3) The IDs and scores of the top-10 ranked nodes.
(C) [10 points] Vary the teleport probability β with numbers in the set: {1, 0.9, 0.8, 0.7, 0.6}. Report the number of iterations needed to stop for each β. Explain, in words, your findings from this experiment.




請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp





 

掃一掃在手機打開當前頁
  • 上一篇:MAS362 代寫、JAVA/C++編程設計代做
  • 下一篇:MAST10006代做、Python/c++程序設計代寫
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 短信驗證碼 trae 豆包網頁版入口 目錄網 排行網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

      <em id="rw4ev"></em>

        <tr id="rw4ev"></tr>

        <nav id="rw4ev"></nav>
        <strike id="rw4ev"><pre id="rw4ev"></pre></strike>
        欧美aⅴ一区二区三区视频| 136国产福利精品导航| 黄色成人在线网站| 99精品久久免费看蜜臀剧情介绍| 99热免费精品在线观看| 亚洲网站在线播放| 狠狠久久婷婷| 日韩午夜av在线| 亚洲黄色影院| 国产日韩欧美在线看| 久久久人成影片一区二区三区| 亚洲第一主播视频| 国产精品一区二区在线观看网站| 亚洲一区中文字幕在线观看| 黄色日韩在线| 国产精品久久久久影院色老大| 国产亚洲一区二区三区| 亚欧美中日韩视频| av不卡免费看| 国产一区二区毛片| 小黄鸭精品密入口导航| 午夜精品久久久久久99热| 一区二区三区国产盗摄| 久久久久久久久久久一区| 午夜精品美女久久久久av福利| 欧美日韩成人在线观看| 在线成人www免费观看视频| 午夜精品一区二区三区在线| 一区二区三区精品在线| 国产亚洲精品久久久久久| 国产精品免费视频观看| 国语自产精品视频在线看一大j8| 精品白丝av| 一区二区激情小说| 韩国美女久久| 亚洲无限av看| 久久精品视频网| 欧美在线一二三区| 久久久国产亚洲精品| 久久久久久久久久看片| 欧美一区二区大片| 亚洲精品自在久久| 国产精品国产自产拍高清av王其| 欧美福利一区二区三区| 亚洲精品偷拍| aaa亚洲精品一二三区| 欧美在线视频观看免费网站| 亚洲国产精品123| 国产精品一国产精品k频道56| 欧美区高清在线| 亚洲经典三级| 国产真实精品久久二三区| 快射av在线播放一区| 久久亚洲风情| 亚洲国产婷婷综合在线精品| 小黄鸭精品aⅴ导航网站入口| 亚洲一区二区综合| 亚洲制服少妇| 日韩午夜av| 亚洲一区二区三区四区视频| 欧美精品一二三| 亚洲蜜桃精久久久久久久| 欧美人体xx| 亚洲午夜一区二区| 亚洲美女少妇无套啪啪呻吟| 亚洲国产精品高清久久久| 韩日精品视频| 国产精品九九| 国产精品久久久久毛片软件| 欧美亚洲在线视频| 欧美日韩亚洲在线| 国产日韩欧美91| 国产日韩欧美夫妻视频在线观看| 欧美日韩一区在线观看视频| 亚洲三级视频| 久久国产精品99精品国产| 亚洲美女少妇无套啪啪呻吟| 国产麻豆精品久久一二三| 久久久www免费人成黑人精品| 久久综合狠狠综合久久综合88| 免费人成网站在线观看欧美高清| 亚洲伦伦在线| 99re成人精品视频| 久久精品视频在线播放| 久久另类ts人妖一区二区| 亚洲国产aⅴ天堂久久| 在线免费高清一区二区三区| 亚洲美女视频| 欧美日韩免费精品| 欧美精品九九99久久| 久久久久在线观看| 欧美成人三级在线| 国产精品国产三级国产普通话99| 欧美在现视频| 国产综合香蕉五月婷在线| 亚洲一区中文字幕在线观看| 欧美激情一区二区三区蜜桃视频| 亚洲全部视频| 欧美日韩在线大尺度| 欧美日本国产精品| 国产精品美女在线观看| 欧美另类99xxxxx| 欧美午夜a级限制福利片| 欧美一区二区三区免费看| 日韩午夜激情电影| 国产精品伦理| 久久狠狠一本精品综合网| 亚洲一区二区三区四区在线观看| 一区二区国产在线观看| 国产亚洲欧美在线| 欧美日韩大片一区二区三区| 最新国产拍偷乱拍精品| 国产精品海角社区在线观看| 久久精品一级爱片| 久久综合电影| 91久久久在线| 久久精品一区二区国产| 亚洲国产精品第一区二区| 精品成人一区二区三区四区| 亚洲高清一二三区| 欧美性猛交xxxx免费看久久久| 久久亚洲不卡| 99re6热只有精品免费观看| 欧美91精品| 亚洲人成在线免费观看| 亚洲一二三四区| 亚洲一区二区三区在线观看视频| 亚洲欧洲在线播放| 伊甸园精品99久久久久久| 这里只有精品电影| 亚洲欧美一区二区三区极速播放| 蜜桃久久av| 亚洲欧美一区二区三区在线| 欧美日韩精品一本二本三本| 国产麻豆一精品一av一免费| 99视频精品全部免费在线| 欧美在线电影| 狠狠爱www人成狠狠爱综合网| aⅴ色国产欧美| 欧美午夜不卡| 在线观看欧美日韩国产| 国产精品高潮呻吟| 亚洲免费视频成人| 欧美日韩www| 欧美日本一区二区高清播放视频| 欧美吻胸吃奶大尺度电影| 国产一区二区三区黄| 欧美精品色网| 亚洲大片在线| 免费观看国产成人| 在线综合视频| 国产视频在线一区二区| 亚洲精品一区二区在线| 久久视频在线看| 国产人久久人人人人爽| 欧美在线观看一区二区三区| 国语自产精品视频在线看抢先版结局| 日韩视频一区二区| 亚洲二区在线| 狠狠色综合色综合网络| 99精品国产一区二区青青牛奶| 免费在线看一区| 亚洲综合电影| 麻豆91精品91久久久的内涵|