⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 apriori算法是数据挖掘的经典算法之1,其基于关联规则的思想.这是我的第2个收藏算法
💻
字号:
The example files in this directory demonstrate how to use theoptions -b, -f, and -r and the optional item appearances file.In the file test1.tab transactions are separated by newline charactersand the items of a transaction are separated by spaces. This is thestandard input format and hence the file can be processed directly:  apriori test1.tab test1.rulIn the file test2.tab the same transactions can be found, but severaldifferent field separators are used. This file can be processed with:  apriori -f ",.;:" -l test3.tab test3.rulThe files test3.tab and test4.tab are in formats that cannot beprocessed directly with the apriori program, but which may be common.In the file test3.tab each line contains a transaction identifier andan item, separated by a space. This file can be converted into thestandard input format with the script tid2set, i.e., with  tid2set test3.tab x.tabIn the file test4.tab the first line states the item names and thefollowing lines contain flags T (true) and F (false) depending onwhether the item is contained in the transaction represented by theline or not. This format can be converted into the standard inputformat with the script flg2set, i.e., with  flg2set test4.tab x.tabIn the file test5.tab there is one item per line and transactionsare separated by blank lines. This format can be converted into thestandard input format with the script row2set, i.e., with  row2set test5.tab x.tabThe file test.app demonstrates the use of item appearance indicators.The first line of this file ('body') states that any item not explicitlymentioned in this file may appear only in the body of a rule. The secondline says that item 2 may appear only in the head of a rule. Hence, byprocessing the file test1.tab with  apriori test1.tab test.rul test.apponly rules with item 2 in the head are generated.Note that any input may also be read from standard input and any outputmay be sent to standard output, simply by specifying a '-' or an emptystring "" instead of a filename. For example  apriori test1.tab -writes the rules directly to the terminal. They may be piped to anyother program, since all other messages of the apriori program arewritten to standard error.Enjoy,Christian Borgelt

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -