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

Exercise 8: TF/IDF ranking

系統(tǒng) 3020 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元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

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

發(fā)表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 欧美综合色另类图片区 | 日本毛片大全 | 免费观看欧美一级特黄 | 鲁一鲁中文字幕久久 | 日本不卡视频在线播放 | 精品国精品国产自在久国产应用 | 一区二区成人国产精品 | 中文字幕11页 | 亚洲精品久荜中文字幕 | 亚洲第99页 | 天天躁日日躁狠狠躁中文字幕 | 麻豆成人久久精品二区三区小说 | 国产精品日韩欧美在线第3页 | 野外一级毛片黑人 | 久久久久久久99精品免费 | 国产九九视频在线观看 | 国产夫妻久久 | 亚洲欧美在线中文字幕不卡 | 深夜在线免费 | 天天做天天爱夜夜爽女人爽宅 | 日日摸夜夜爽夜夜爽出水 | 久久精品一区二区三区日韩 | 亚洲精品久久久久久婷婷 | 夜间福利视频 | 手机福利在线 | 亚洲欧美日韩另类 | 国产一区二区福利久久 | 成人在线毛片 | 国产福利福利视频 | 亚洲免费中文字幕 | 色综合91久久精品中文字幕 | 免费看在线爱爱小视频 | 婷婷涩| 国产精品久久久久久 | 国产午夜精品不卡观看 | 国产亚洲美女精品久久久2020 | 在线观看国产一区二区三区99 | 久久美剧免费在线观看 | 国产日本亚洲欧美 | 四虎影院在线 | 欧美日韩一本 |