亚洲免费在线-亚洲免费在线播放-亚洲免费在线观看-亚洲免费在线观看视频-亚洲免费在线看-亚洲免费在线视频

Exercise 8: TF/IDF ranking

系統(tǒng) 2722 0

?Exercise 8 - TF/IDF ranking

DIS 2006/2007

Exercise 8: TF/IDF ranking

In this exercise we'll have a look at how the TF/IDF ranking works.

?

There are 5 different documents in the collection:

  • D1 = "If it walks like a duck and quacks like a duck, it must be a duck."
  • D2 = "Beijing Duck is mostly prized for the thin, crispy duck skin with authentic versions of the dish serving mostly the skin."
  • D3 = "Bugs' ascension to stardom also prompted the Warner animators to recast Daffy Duck as the rabbit's rival, intensely jealous and determined to steal back the spotlight while Bugs remained indifferent to the duck's jealousy, or used it to his advantage. This turned out to be the recipe for the success of the duo."
  • D4 = "6:25 PM 1/7/2007 blog entry: I found this great recipe for Rabbit Braised in Wine on cookingforengineers.com."
  • D5 = "Last week Li has shown you how to make the Sechuan duck. Today we'll be making Chinese dumplings (Jiaozi), a popular dish that I had a chance to try last summer in Beijing. There are many recipies for Jiaozi."

?

Task 1. For the query Q = "Beijing duck recipe", find the two top ranked documents according to the TF/IDF rank. Assume the cosine similarity measure and the culinary term set T = {beijing, dish,duck, rabbit, recipe, roast}. Are the top ranked documents relevant to the query?

?

Task 2. Assume that the author of the document D5 goes on to tell more about her summer trip to China before doing the cooking and uses the word Beijing 3 times, instead of just once. What happens to the rank of D5? How can this be interpreted in the vector retrieval model (vectors and angles between them)? Is this change in the ranking of D5 a desirable property of TF/IDF? Why?

?

Solution

Excel sheet with calculations

?

Exercise 8: TF/IDF ranking


更多文章、技術(shù)交流、商務(wù)合作、聯(lián)系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯(lián)系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點(diǎn)擊下面給點(diǎn)支持吧,站長非常感激您!手機(jī)微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點(diǎn)擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發(fā)表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 日本亚洲精品一区二区三区 | jizz孕妇孕交| 女人18一级特级毛片免费看 | 99热.| 久久精品人人做人人看最新章 | 一级成人黄色片 | 九九久久九九久久 | 日本亚洲欧洲高清有码在线播放 | 高清国产精品久久久久 | 中文字幕在线免费观看视频 | 国产精品伦理一区二区三区 | 曰本亚洲欧洲色a在线 | 99热这里只有精品18 | 国产精品拍自在线观看 | 四虎成人免费网站在线 | 成人欧美一级毛片免费观看 | 亚洲欧美中文字幕高清在线一 | 青青爽国产手机在线观看免费 | 国产精品久久久久尤物 | 欧美日韩中文字幕在线手机版本 | 手机看片福利日韩国产 | 国产真实伦偷精品 | 亚洲精品乱码国产精品乱码 | 99热久久国产精品免费看 | 久久综合色之久久综合 | 国产国产成人精品久久 | 91福利在线看 | 91麻豆精品国产91久久久久久 | 狠狠色狠狠色 | 久久精品免费大片国产大片 | 欧美aaaa黄色一级毛片 | 一级毛片一级毛片a毛片欧美 | 国内精品久久久久久久久蜜桃 | 爱爱视频欧美 | 亚洲精品爱爱久久 | 国产福利资源 | 亚洲精品一区二区三区福利 | 国内精品久久久久不卡 | 久久伊人操 | 精品一区 二区三区免费毛片 | 大杳蕉伊人狼人久久一本线 |