大数据挖掘技术_第1页
大数据挖掘技术_第2页
大数据挖掘技术_第3页
大数据挖掘技术_第4页
大数据挖掘技术_第5页
已阅读5页,还剩44页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、1,Improvements to A-Priori,Bloom Filters Park-Chen-Yu Algorithm Multistage Algorithm Approximate Algorithms Compacting Results,2,Aside: Hash-Based Filtering,Simple problem: I have a set S of one billion strings of length 10. I want to scan a larger file F of strings and output those that are in S. I

2、 have 1GB of main memory. So I cant afford to store S in memory.,3,Solution (1),Create a bit array of 8 billion bits, initially all 0s. Choose a hash function h with range 0, 8*109), and hash each member of S to one of the bits, which is then set to 1. Filter the file F by hashing each string and ou

3、tputting only those that hash to a 1.,4,Solution (2),Filter,File F,0010001011000,h,5,Solution (3),As at most 1/8 of the bit array is 1, only 1/8th of the strings not in S get through to the output. If a string is in S, it surely hashes to a 1, so it always gets through. Can repeat with another hash

4、function and bit array to reduce the false positives by another factor of 8.,6,Solution Summary,Each filter step costs one pass through the remaining file F and reduces the fraction of false positives by a factor of 8. Actually 1/(1-e -1/8). Repeat passes until few false positives. Either accept som

5、e errors, or check the remaining strings. e.g., divide surviving F into chunks that fit in memory and make a pass though S for each.,7,Aside: Throwing Darts,A number of times we are going to need to deal with the problem: If we throw k darts into n equally likely targets, what is the probability that a target gets at least one dart? Example: targets = bits, darts = hash values of elements.,8,Throwing Darts (2),9,Throwing Darts (3),If k s.,31,All (Or Most) Frequent Itemsets In 0). Stores not only frequent information, but exact counts.,49,Example: Maximal/Closed,Count Maximal (

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论