1 / 34
文档名称:

CS 345Data Mining.ppt

格式:ppt   大小:375KB   页数:34页
下载后只包含 1 个 PPT 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

CS 345Data Mining.ppt

上传人:陈潇睡不醒 2019/11/15 文件大小:375 KB

下载得到文件列表

CS 345Data Mining.ppt

相关文档

文档介绍

文档介绍:CS345 DataMiningOnlinealgorithmsSearchadvertisingOnlinealgorithmsClassicmodelofalgorithmsYougettoseetheentireinput,putesomefunctionofitInthiscontext,“offlinealgorithm”OnlinealgorithmYougettoseetheinputonepieceatatime,andneedtomakeirrevocabledecisionsalongthewayHowisthisdifferentfromthedatastreammodel?Example:Bipartitematching1234abcdGirlsBoysExample:Bipartitematching1234abcdM={(1,a),(2,b),(3,d)}isamatchingCardinalityofmatching=|M|=3GirlsBoysExample:Bipartitematching1234abcdGirlsBoysM={(1,c),(2,b),(3,d),(4,a)}isaperfectmatchingMatchingAlgorithmProblem:Findamaximum-cardinalitymatchingAperfectoneifitexistsThereisapolynomial-timeofflinealgorithm(HopcroftandKarp1973)Butwhatifwedon’thavetheentiregraphupfront?OnlineproblemInitially,wearegiventhesetBoysIneachround,onegirl’schoicesarerevealedAtthattime,wehavetodecidetoeither:PairthegirlwithaboyDon’tpairthegirlwithanyboyExampleofapplication:assigningtaskstoserversOnlineproblem1234abcd(1,a)(2,b)(3,d)GreedyalgorithmPairthenewgirlwithanyeligibleboyIfthereisnone,don’petitiveRatioForinputI,petitiveratio= minallpossibleinputsI(|Mgreedy|/|Mopt|)