亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? apriori.html

?? apriori算法是數據挖掘的經典算法之1,其基于關聯規則的思想.這是我的第2個收藏算法
?? HTML
?? 第 1 頁 / 共 4 頁
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><!-- ===================================================================  File    : apriori.html  Contents: Description of apriori program  Author  : Christian Borgelt==================================================================== --><html><head><title>Apriori Documentation</title></head><!-- =============================================================== --><body bgcolor=white><h1><a name="top">Apriori</a></h1><h3>Find Association Rules/Hyperedges with Apriori Algorithm</h3><!-- =============================================================== --><p><img src="line.gif" alt="" height=7 width=704></p><h3>Contents</h3><ul type=disc><li><a href="#intro">Introduction</a></li><li><a href="#terms">Support and Confidence</a>    <ul type=circle>    <li><a href="#suppset">Support of an Item Set</a></li>    <li><a href="#confrule">Confidence of an Association Rule</a></li>    <li><a href="#supprule">Support of an Association Rule</a></li>    </ul></li><li><a href="#select">Extended Rule Selection</a>    <ul type=circle>    <li><a href="#diff">        Absolute Confidence Difference to Prior</a></li>    <li><a href="#quotient">        Difference of Confidence Quotient to 1</a></li>    <li><a href="#improve">        Absolute Difference of Improvement Value to 1</a></li>    <li><a href="#info">        Information Difference to Prior</a></li>    <li><a href="#chi2">        Normalized chi<sup>2</sup> Measure</a></li>    <li><a href="#behavior">        Selection Behavior of the Measures</a></li>    <li><a href="#appear">Item Appearances</a></li>    </ul></li><li><a href="#target">Other Target Types</a>    <ul type=circle>    <li><a href="#itemsets">Frequent Item Sets</a></li>    <li><a href="#hyperedges">Association Hyperedges</a></li>    </ul></li><li><a href="#options">Program Invocation and Options</a></li><li><a href="#input">Input Format</a>    <ul type=circle>    <li><a href="#transin">Format of the Transactions File</a></li>    <li><a href="#appearin">Format of the Item Appearances File</a></li>    </ul></li><li><a href="#output">Output Format</a>    <ul type=circle>    <li><a href="#ruleout">Output Format for Association Rules</a></li>    <li><a href="#setout">Output Format for Frequent Item Sets</a></li>    <li><a href="#edgeout">Output Format for Association Hyperedges</a>        </li>    </ul></li><li><a href="#copying">Copying</a></li><li><a href="#download">Download</a></li><li><a href="#contact">Contact</a></li></ul><!-- =============================================================== --><p><img src="line.gif" alt="" height=7 width=704></p><h3><a name="intro">Introduction</a></h3><p>Association rule induction is a powerful method for so-called<i>market basket analysis</i>, which aims at finding regularities inthe shopping behavior of customers of supermarkets, mail-order companiesand the like. With the induction of association rules one tries to findsets of products that are frequently bought together, so that from thepresence of certain products in a shopping cart one can infer (with ahigh probability) that certain other products are present. Suchinformation, expressed in the form of rules, can often be used toincrease the number of items sold, for instance, by appropriatelyarranging the products in the shelves of a supermarket (they may,for example, be placed adjacent to each other in order to invite evenmore customers to buy them together) or by directly suggesting itemsto a customer, which may be of interest for him/her.</p><p>An <i>association rule</i> is a rule like "If a customer buys wineand bread, he often buys cheese, too." It expresses an associationbetween (sets of) <i>items</i>, which may be products of a supermarketor a mail-order company, special equipment options of a car, optionalservices offered by telecommunication companies etc. An associationrule states that if we pick a customer at random and find out thathe selected certain items (bought certain products, chose certainoptions etc.), we can be confident, quantified by a percentage, thathe also selected certain other items (bought certain other products,chose certain other options etc.).</p><p>Of course, we do not want just any association rules, we want"good" rules, rules that are "expressive" and "reliable". The standardmeasures to assess association rules are the <i>support</i> and the<i>confidence</i> of a rule, both of which are computed from the<i>support</i> of certain item sets. These notions are discussed<a href="#terms">here</a> in more detail. However, these standardcriteria are often not sufficient to restrict the set of rules tothe interesting ones. Therefore some additional rule evaluationmeasures are considered <a href="select">here</a>.</p><p>The main problem of association rule induction is that there areso many possible rules. For example, for the product range of asupermarket, which may consist of several thousand different products,there are billions of possible association rules. It is obvious thatsuch a vast amount of rules cannot be processed by inspecting eachone in turn. Therefore efficient algorithms are needed that restrictthe search space and check only a subset of all rules, but, if possible,without missing important rules. One such algorithm is the apriorialgorithm, which was developed by [Agrawal et al. 1993] and whichis implemented in a specific way in my apriori program.</p><p>By the way: Version 1.8 of my apriori program is incorporated inthe well-known data mining tool<a href="http://www.spss.com/Clementine/">Clementine</a> (Version 5.0),available from <a href="http://www.spss.com">SPSS</a>.</p><p>Enjoy,<br><a href="http://fuzzy.cs.uni-magdeburg.de/~borgelt/">Christian Borgelt</a></p><table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td width="95%" align=right><a href="#top">back to the top</a></td>    <td width=5></td>    <td><a href="#top"><img src="uparrow.gif" border=0></a></td></tr></table><!-- =============================================================== --><p><img src="line.gif" alt="" height=7 width=704></p><h3><a name="terms">Support and Confidence</a></h3><h4><a name="suppset">Support of an Item Set</a></h4><p>Let T be the set of all transactions under consideration, e.g.,let T be the set of all "baskets" or "carts" of products bought by thecustomers of a supermarket - on a given day if you like. The supportof an item set S is the percentage of those transactions in T whichcontain S. In the supermarket example this is the number of "baskets"that contain a given set S of products, for example S = { bread, wine,cheese }. If U is the set of all transactions that contain all itemsin S, then</p><p>support(S) = (|U| / |T|) *100%,</p><p>where |U| and |T| are the number of elements in U and T,respectively. For example, if a customer buys the setX = { milk, bread, apples, wine, sausages, cheese, onions, potatoes }then S is obviously a subset of X, hence S is in U. If there are 318customers and 242 of them buy such a set U or a similar one thatcontains S, then support(S) = 76.1%.</p><table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td width="95%" align=right><a href="#top">back to the top</a></td>    <td width=5></td>    <td><a href="#top"><img src="uparrow.gif" border=0></a></td></tr></table><!-- =============================================================== --><h4><a name="confrule">Confidence of an Association Rule</a></h4><p>This is the measure used by [Agrawal et al. 1993], the inventors ofthe apriori algorithm, to evaluate association rules. The confidenceof a rule R = "A and B -&gt; C" is the support of the set of all itemsthat appear in the rule divided by the support of the antecedent ofthe rule, i.e.</p><p>confidence(R) = (support({A, B, C}) / support({A, B})) *100%.</p><p>More intuitively, the confidence of a rule is the number of cases inwhich the rule is correct relative to the number of cases in which itis applicable. For example, let R = "wine and bread -&gt; cheese". If acustomer buys wine and bread, then the rule is applicable and it saysthat he/she can be expected to buy cheese. If he/she does not buy wineor does not buy bread or buys neither, than the rule is not applicableand thus (obviously) does not say anything about this customer.</p><p>If the rule is applicable, it says that the customer can be expectedto buy cheese. But he/she may or may not buy cheese, that is, the rulemay or may not be correct. Of course, we are interested in how good therule is, i.e., how often its prediction that the customer buys cheeseis correct. The rule confidence measures this: It states the percentageof cases in which the rule is correct. It computes the percentagerelative to the number of cases in which the antecedent holds, sincethese are the cases in which the rule makes a prediction that can betrue or false. If the antecedent does not hold, then the rule does notmake a prediction, so these cases are excluded.</p><p>With this measure a rule is selected if its confidence exceeds oris equal to a given lower limit. That is, we look for rules that havea high probability of being true, i.e., we look for "good" rules, whichmake correct (or very often correct) predictions. My apriori programalways uses this measure to select association rules. The default valuefor the confidence limit is 80%. It can be changed with the option<tt>-c</tt>.</p><p>In addition to the rule confidence my apriori program lets youselect several other rule evaluation measures, which are explainedbelow, but it will also use rule confidence. If you want to relyentirely on some other measure, you can do so by setting the minimalrule confidence to zero. (Attention: If you have a large number ofitems, setting the minimal rule confidence to zero can result in<i>very</i> high memory consumption.)</p><table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td width="95%" align=right><a href="#top">back to the top</a></td>    <td width=5></td>    <td><a href="#top"><img src="uparrow.gif" border=0></a></td></tr></table><!-- =============================================================== --><h4><a name="supprule">Support of an Association Rule</a></h4><p>The support of rules may cause some confusion, because I use thisterm in a different way than [Agrawal et al. 1993] do. For them, thesupport of a rule "A and B -&gt; C" is the support of the set {A, B, C}.This is fine if rule confidence is the only rule evaluation measure,but it causes problems if some other measure is used. For these othermeasures it is often much more appropriate to call the support of theantecedent of the rule, i.e. the support of {A, B} in the example above,the support of the rule.</p><p>The difference can also be stated in the following way: For [Agrawalet al. 1993], the support of the rule is the (relative) number of casesin which the rule is correct (i.e., in which the presence of the item Cfollows from the presence of the items A and B), whereas for me (andthus my apriori program) the support of a rule is the (relative) numberof cases in which it is applicable (i.e., in which the antecedent of therule holds), although in some of these cases it may be false (becauseonly the items A and B are present, but the item C is missing).</p><p>One reason for this, as already mentioned, is that the definitionof [Agrawal et al. 1993] does not work well for evaluation measuresother than rule confidence. This is explained in more detail below.Another reason is that I prefer the support of a rule to say somethingabout the "statistical" support of a rule and its confidence, i.e.,from how many cases the confidence is computed in order to expresshow well founded the assertion about the confidence is.</p><p>Maybe an example will make this clearer. Suppose you have a die whichyou suspect to be biased. To test this hypothesis, you throw the die,say, a thousand times. 307 times the 6 turns up. Hence you assume thatthe die is actually biased, since the relative frequency is about 30%although for an unbiased die it should be around 17%. Now, what is the"statistical" support of this assertion, i.e., on how many experimentsdoes it rest? Obviously it rests on all 1000 experiments and not onlyon the 307 experiments in which the 6 turned up. This is so, simplybecause you had to do 1000 experiments to find out that the relativefrequency is around 30% and not only the 307 in which a 6 turned up.</p><p>Or suppose you are doing an opinion poll to find out about theacceptance of a certain political party, maybe with the usual question"If an election were held next Sunday ...?" You ask 2000 persons, ofwhich 857 say that they would vote for the party you are interested in.What is the support of the assertion that this party would get around43% of all votes? It is the size of your sample, i.e., all 2000 persons,and not only the 857 that answered in the positive. Again you had to askall 2000 people to find out about the percentage of 43%. Of course, youcould have asked fewer people, say, 100, of which, say, 43 said thatthey would vote for the party, but then your assertion would be lessreliable, because it is less "supported". The number of votes for theparty could also be 40% or 50%, because of some random influences. Suchdeviations are much less likely, if you asked 2000 persons, since thenthe random influences can be expected to cancel out.</p><p>The rule support can be used to select association rules by statinga lower bound for the support of a rule. This is equivalent to sayingthat you are interested only in such rules that have a large enoughstatistical basis (since my apriori program uses the term "support"in my interpretation and not in the one used by [Agrawal et al. 1993]).

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99麻豆久久久国产精品免费优播| 日韩欧美电影在线| 欧美一区二区美女| 国产精品久久久久久久久果冻传媒| 亚洲午夜精品久久久久久久久| 国内成人免费视频| 欧美三级日韩在线| 中文字幕不卡在线观看| 丝袜诱惑亚洲看片| 91麻豆文化传媒在线观看| 日韩欧美的一区二区| 亚洲综合男人的天堂| 国产成人在线看| 精品欧美乱码久久久久久1区2区 | 国产在线国偷精品免费看| 99久久精品免费看国产免费软件| 日韩欧美中文一区二区| 亚洲狼人国产精品| 99这里只有精品| 国产日韩av一区二区| 久久99热国产| 精品毛片乱码1区2区3区| 午夜精品成人在线视频| 91免费看`日韩一区二区| 国产欧美一区二区精品婷婷 | 欧美视频一区二区三区在线观看 | 国产黄人亚洲片| 精品三级av在线| 日本在线不卡视频一二三区| 在线观看一区不卡| 亚洲乱码一区二区三区在线观看| 成人免费观看视频| 中文字幕不卡在线播放| 成人一级黄色片| 青青草国产成人av片免费| 91欧美一区二区| 亚洲激情av在线| 欧美日韩在线亚洲一区蜜芽| 亚洲乱码日产精品bd| 色欧美片视频在线观看| 夜夜嗨av一区二区三区| 97se亚洲国产综合自在线不卡| 中文字幕一区二区三区色视频| 不卡av在线网| 一区二区三区在线影院| 欧美在线视频全部完| 亚洲va韩国va欧美va| 欧美高清性hdvideosex| 麻豆国产精品视频| 中文字幕的久久| 91福利在线看| 美女脱光内衣内裤视频久久影院| 精品国产一区a| 不卡的av在线播放| 亚洲成精国产精品女| 日韩视频一区二区三区在线播放| 韩日av一区二区| 国产精品女主播av| 欧美午夜在线观看| 久久超级碰视频| 国产精品萝li| 欧美人与性动xxxx| 国产盗摄一区二区三区| 一区二区中文字幕在线| 欧美日韩一区二区电影| 精一区二区三区| 成人免费视频在线观看| 7777精品伊人久久久大香线蕉的| 国产自产高清不卡| 怡红院av一区二区三区| 日韩亚洲欧美在线观看| 成人午夜免费av| 亚洲国产日韩综合久久精品| 精品99一区二区| 在线影视一区二区三区| 麻豆国产精品官网| 亚洲免费在线看| 日韩欧美中文字幕精品| 97精品久久久久中文字幕 | 91精品福利在线一区二区三区| 国产尤物一区二区| 亚洲不卡av一区二区三区| 国产亚洲欧美日韩俺去了| 色噜噜狠狠一区二区三区果冻| 狠狠色2019综合网| 亚洲高清在线精品| 中文字幕一区三区| 久久久午夜电影| 91精品国产综合久久小美女| 不卡av免费在线观看| 精品一区二区免费在线观看| 亚洲综合色在线| 欧美激情综合五月色丁香 | 六月丁香婷婷色狠狠久久| 亚洲免费在线电影| 亚洲一二三级电影| 亚洲视频在线一区观看| xnxx国产精品| 日韩精品专区在线| 欧美美女直播网站| 欧美性淫爽ww久久久久无| 成人午夜免费av| 国产精品夜夜嗨| 国产资源在线一区| 九色|91porny| 免费看精品久久片| 日韩精品久久理论片| 亚洲一二三四在线| 一区二区三区**美女毛片| 中文字幕av一区 二区| 精品粉嫩aⅴ一区二区三区四区| 欧美精品v国产精品v日韩精品| 在线观看区一区二| 欧美亚洲愉拍一区二区| 91天堂素人约啪| 成人av在线播放网址| 国产91丝袜在线18| 成人精品国产福利| 岛国av在线一区| 丰满岳乱妇一区二区三区| 国产乱码精品一区二区三| 黄页视频在线91| 国内精品写真在线观看 | 日韩va亚洲va欧美va久久| 亚洲高清视频在线| 日韩 欧美一区二区三区| 日韩成人伦理电影在线观看| 亚洲444eee在线观看| 天堂资源在线中文精品| 丝袜美腿亚洲色图| 久久99精品国产.久久久久| 精品伊人久久久久7777人| 久久精品国产一区二区三区免费看| 裸体歌舞表演一区二区| 国内偷窥港台综合视频在线播放| 国产伦精品一区二区三区视频青涩 | 在线影视一区二区三区| 欧美日韩精品三区| 日韩你懂的在线播放| 久久综合网色—综合色88| 久久精品夜色噜噜亚洲a∨| 国产精品久久久99| 亚洲韩国一区二区三区| 美腿丝袜亚洲色图| 国产·精品毛片| 在线视频亚洲一区| 日韩欧美的一区| 综合自拍亚洲综合图不卡区| 亚洲一区二区三区四区中文字幕| 奇米色一区二区| 高清beeg欧美| 欧美日韩一区高清| 国产色一区二区| 亚洲一区在线视频| 韩国精品免费视频| 欧洲一区在线观看| 久久久精品综合| 亚洲一二三级电影| 成人深夜视频在线观看| 欧美色精品天天在线观看视频| 精品少妇一区二区三区日产乱码 | 一区二区在线电影| 国产真实精品久久二三区| 色综合天天狠狠| 日韩欧美www| 亚洲综合图片区| 国产成a人亚洲| 欧美精品一级二级| 亚洲天堂免费看| 国内外成人在线视频| 99精品在线免费| 久久免费国产精品| 日本中文一区二区三区| 色综合中文字幕国产 | 欧美性做爰猛烈叫床潮| 国产午夜精品久久久久久久| 亚洲永久免费视频| 成人理论电影网| 国产婷婷色一区二区三区| 午夜免费欧美电影| 91在线观看成人| 国产视频一区二区在线观看| 日韩不卡在线观看日韩不卡视频| 色综合天天综合色综合av| 久久亚洲捆绑美女| 久久99久久久久| 欧美久久高跟鞋激| 亚洲午夜精品网| 欧美性感一区二区三区| 亚洲婷婷综合色高清在线| 国产一区二区三区在线观看免费 | 一本色道久久综合精品竹菊| 国产日产亚洲精品系列| 麻豆久久久久久久| 制服丝袜中文字幕一区| 亚洲综合精品自拍| 在线看不卡av| 亚洲综合色成人| 91福利精品视频| 一区二区三区在线免费播放|