- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
ch04数据流挖掘2概论
MiningDataStreams(Part2)MiningofMassiveDatasetsJureLeskovec,AnandRajaraman,JeffUllmanStanfordUniversityNotetootherteachersandusersoftheseslides:Wewouldbedelightedifyoufoundthisourmaterialusefulingivingyourownlectures.Feelfreetousetheseslidesverbatim,ortomodifythemtofityourownneeds.Ifyoumakeuseofasignificantportionoftheseslidesinyourownlecture,pleaseincludethismessage,oralinktoourwebsite:Today’sLectureMorealgorithmsforstreams:(1)Filteringadatastream:BloomfiltersSelectelementswithpropertyxfromstream(2)Countingdistinctelements:Flajolet-MartinNumberofdistinctelementsinthelastkelementsofthestream(3)Estimatingmoments:AMSmethodEstimatestd.dev.oflastkelements(4)CountingfrequentitemsJ.Leskovec,A.Rajaraman,J.Ullman:MiningofMassiveDatasets,2(1)FilteringDataStreamsFilteringDataStreamsEachelementofdatastreamisatupleGivenalistofkeysSDeterminewhichtuplesofstreamareinSObvioussolution:HashtableButsupposewedonothaveenoughmemorytostoreallofSinahashtableE.g.,wemightbeprocessingmillionsoffiltersonthesamestream4J.Leskovec,A.Rajaraman,J.Ullman:MiningofMassiveDatasets,ApplicationsExample:EmailspamfilteringWeknow1billion“good”emailaddressesIfanemailcomesfromoneofthese,itisNOTspamPublish-subscribesystemsYouarecollectinglotsofmessages(newsarticles)PeopleexpressinterestincertainsetsofkeywordsDeterminewhethereachmessagematchesuser’sinterest5J.Leskovec,A.Rajaraman,J.Ullman:MiningofMassiveDatasets,FirstCutSolution(1)GivenasetofkeysSthatwewanttofilterCreateabitarrayBofnbits,initiallyall0sChooseahashfunctionhwithrange[0,n)HasheachmemberofsStooneofnbuckets,andsetthatbitto1,i.e.,B[h(s)]=1Hasheachelementaofthestreamandoutputonlythosethathashtobitthatwassetto1OutputaifB[h(a)]==16J.Leskovec,A.Rajaraman,J.Ullman:MiningofMassiveDatasets,FirstCutSolution(2)CreatesfalsepositivesbutnofalsenegativesIftheitemisinSwesurelyoutputit,ifnotwemaystilloutputit7FilterItem0010001011000HashfunchBitarrayBJ.Leskovec,A.Rajaraman,J.Ullman:MiningofMassiveDatasets,FirstCutSolution(3)|S|=1billionemailaddresses|B|=1GB=8
您可能关注的文档
最近下载
- 255-20240615+《中庸》第4讲:《行明章》.docx VIP
- 高中语文课堂情境化多模态教学策略探究教学研究课题报告.docx
- 2025深度融合AI的低代码平台.pptx VIP
- 道路桥梁工程课件培训资料.ppt VIP
- ASME B16.5-2020 管法兰和法兰管件(中文版).pdf
- 人教版PEP小学五年级英语上册教案-全册.pdf VIP
- 《第7课 冒泡排序》课件.pptx VIP
- 最新中小学校长选拔笔试试题及参考答案[教育].docx VIP
- DB62T 856-2002 无公害蔬菜番瓜(西葫芦)日光温室生产技术.pdf VIP
- TJYXFIA0002-2024 菜干团体标准.pdf VIP
文档评论(0)