日韩精品一区二区三区高清_久久国产热这里只有精品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++程序設計代寫
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
    合肥機場巴士1號線
    合肥機場巴士1號線
  • 短信驗證碼 酒店vi設計 deepseek 幣安下載 AI生圖 AI寫作 aippt AI生成PPT 阿里商辦

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

    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>
        中文在线不卡| 欧美国产日韩一二三区| 激情小说另类小说亚洲欧美| 亚洲图片欧美日产| 欧美日韩日本视频| 欧美日韩国产三级| 亚洲欧美日韩在线播放| 亚洲国产精品第一区二区| 国产日韩欧美综合精品| 亚洲激情自拍| 国产精品人人爽人人做我的可爱| 午夜性色一区二区三区免费视频| 久热国产精品视频| 欧美高清视频一区二区| 欧美一级黄色网| 国产精品丝袜久久久久久app| 亚洲精品欧美在线| 美国成人直播| 国语自产精品视频在线看8查询8| 国产精品福利网站| 久久精品亚洲乱码伦伦中文| 韩国精品一区二区三区| 久久久亚洲午夜电影| 美女主播精品视频一二三四| 国产亚洲一本大道中文在线| 日韩香蕉视频| 欧美一区二区三区四区在线观看地址| 国产日韩欧美在线观看| 欧美大片免费观看在线观看网站推荐| 久久久久免费| 久久精品国产免费观看| 亚洲精品一二区| 亚洲视屏在线播放| 亚洲第一区在线观看| 国产亚洲欧美日韩日本| 另类图片国产| 日韩午夜激情| 99热精品在线| 久久艳片www.17c.com| 欧美日韩视频在线第一区| 久久综合成人精品亚洲另类欧美| 久久精品视频免费| 欧美成人黄色小视频| 99精品99久久久久久宅男| 国产精品久久久久久久久免费桃花| 久久国产毛片| 99精品视频免费观看视频| 欧美电影免费观看大全| 欧美激情综合网| 亚洲国产精品成人va在线观看| 亚洲一区二区欧美日韩| 亚洲欧洲美洲综合色网| 欧美成年人在线观看| 国产精品亚洲激情| 99视频+国产日韩欧美| 欧美激情一区二区在线| 久久精品国产第一区二区三区最新章节| 午夜精品久久久久久99热| 欧美日韩成人一区| 黄色免费成人| 久久成人资源| 一区二区在线视频播放| 欧美激情一区二区三区在线视频| 欧美日韩高清不卡| 国产一区二区三区av电影| 亚洲一区二区三区四区视频| 亚洲影院色在线观看免费| 久热成人在线视频| 欧美日韩一区二区三区四区在线观看| 欧美黄色影院| 久久亚洲综合网| 久久久久国产精品厨房| 国产精品视频专区| 国产精品午夜国产小视频| 欧美日韩亚洲不卡| 久久av红桃一区二区小说| 欧美亚洲免费高清在线观看| 国产欧美在线视频| 亚洲激情小视频| 香蕉成人啪国产精品视频综合网| 亚洲日本电影在线| 欧美日韩国产成人高清视频| 欧美激情视频一区二区三区免费| 亚洲国语精品自产拍在线观看| 尹人成人综合网| 国产精品久久99| 夜夜狂射影院欧美极品| 国产一区二区视频在线观看| 亚洲一区中文字幕在线观看| 亚洲美女视频在线免费观看| 亚洲欧美在线视频观看| 香蕉av777xxx色综合一区| 一区二区三区在线免费视频| 亚洲国产精品123| 夜久久久久久| 激情校园亚洲| 亚洲电影av| 欧美日韩激情小视频| 一区二区av在线| 国内精品视频一区| 在线欧美三区| 欧美在线亚洲综合一区| 国产精品入口麻豆原神| 国产精品尤物福利片在线观看| 久久在线免费| 久久免费视频一区| 欧美日韩精品二区| 亚洲精品国产精品国自产观看| 亚洲国产一区二区a毛片| 精品不卡一区二区三区| 国产精品国产精品国产专区不蜜| 亚洲国产高清aⅴ视频| 亚洲欧洲av一区二区三区久久| 亚洲国产精品一区二区尤物区| 狠狠做深爱婷婷久久综合一区| 亚洲欧美日韩成人| 国产精品第十页| 麻豆乱码国产一区二区三区| 国产真实精品久久二三区| 国产精品久久一卡二卡| 美国成人毛片| 亚洲最新在线| 黄色成人在线网址| 一区二区三区回区在观看免费视频| 国产亚洲人成a一在线v站| 欧美激情亚洲一区| 亚洲乱码国产乱码精品精98午夜| 国语精品中文字幕| 性欧美激情精品| 亚洲欧美激情视频在线观看一区二区三区| 国内精品久久久| 黄色av日韩| 国产日韩亚洲欧美精品| 欧美亚日韩国产aⅴ精品中极品| 一区二区三区成人精品| 亚洲国产精品成人久久综合一区| 欧美精品福利在线| 国产一区日韩二区欧美三区| 欧美在线高清视频| 国产精品久久久久天堂| 国产伦精品一区二区三区在线观看| 亚洲无线观看| 一区二区久久久久| 欧美先锋影音| 欧美三级电影网| 欧美视频免费在线| 亚洲专区免费| 欧美日韩亚洲免费| 久久中文字幕一区| 欧美一区二区三区免费视频| 国产一区二区三区无遮挡| 欧美亚洲午夜视频在线观看| 亚洲女与黑人做爰| 国产又爽又黄的激情精品视频| 欧美成人高清| 国内精品国语自产拍在线观看| 欧美刺激性大交免费视频| 国产精品资源在线观看| 亚洲精品国产系列| 欧美xxx在线观看| 午夜日韩在线观看| 欧美一级免费视频| 国产亚洲毛片| 亚洲激情国产精品|