mpis

所属分类:单片机开发
开发工具:C++
文件大小:87KB
下载次数:4
上传日期:2010-11-07 18:51:11
上 传 者sunda
说明:  Maximal-Profit Item Selection with Cross-Selling Considerations

文件列表:
ampis.h (3072, 2004-06-09)
ampisVer1.c (94760, 2004-06-09)
ampisVer1.exe (70799, 2004-06-10)
ashort_ex.txt (65, 2004-06-10)
conf.txt (144, 2003-06-07)
configSample (34, 2004-06-10)
fpt.c (41886, 2003-06-05)
fpt.exe (30019, 2004-06-10)
fpt.h (5016, 2004-06-09)
fpTreeConfig (59, 2002-09-07)
fpt_mpis.c (38312, 2004-06-09)
fpt_mpis.h (1946, 2004-06-09)
fpt_org.c (44767, 2004-06-10)
Makefile (310, 2004-06-10)
mshort_ex.txt (0, 2004-06-10)
profit.txt (3835, 2003-06-07)
qsort.c (9277, 2004-06-09)
qsort.h (1356, 2004-06-09)
readFP.c (2598, 2004-06-09)
readFP.h (1412, 2004-06-09)
short_ex.fp (139, 2004-06-10)
short_ex.fp2 (139, 2004-06-10)
short_ex.txt (45, 2003-04-18)
sshort_ex.txt (358, 2004-06-10)
time.txt (718, 2004-06-10)

Readme(MPIS_Alg) ================ Usage Step ========== There are three phases in the compilation. ------------------------ Phase 1 - Config File Modification (Required to do only one time. Not required to do any more ------------------------ except some changes of the configure file.) 1. Modify the file content in "configSample" according to the format shown in Appendix A (NOTE: the threshold set in this file is 0 in order to mine the statistics of co-occurence of 2-itemset.) 2. Modify the file content in "conf.txt" according to the format shown in Appendix B ------------------- Phase 2 - Pre-generation Step (Required to do only one time. Not required to do any more.) ------------------- 1. type make fpt-compile 2. type cp short_ex.fp short_ex.fp2 (i.e. cp .fp .fp2) where is the file name of the statistics. 3. type ./fpt configSample 4. You can simply type to do the above three steps make run1 -------------- Phase 3 - Main Algorithm -------------- 1. type make mpis-compile 2. type ./ampisVer1 3. You can simply type to do the above two steps make run2 In summary, you can type to run steps in Phase 2 and Phase 3 make all Appendix A. Format of FP File ------------------------------ 1. Maximum size of freq. itemsets to be mined 2. the threshold used in mining freq. itemsets 3. no. of items 4. no. of transactions 5. data file name 6. the result file name Appendix B. Format of Configure File ------------------------------------ 1. no. of selected items (J) 2. no. of transactions 3. no. of items 4. the file name of the data 5. the file name of the frequent patterns 6. the file name of the frequent 2-itemsets 7. the debug file name (dummy) 8. the output file name 9. the debug file name (dummy) 10.the debug file name (dummy) 11.the debug file name (dummy) 12.the file name of the profit Appendix C. Format of Data File ------------------------------- In the input data file, each row corresponds to a transaction. The first number in a row represents the number of items in the transaction while the remaining numbers represents the item nos. of the items in the transaction. For example, if there are three transactions, then the file contains: 3 2 3 4 <-- 1st transaction 1 2 <-- 2nd transaction 2 0 1 <-- 3rd transaction

近期下载者

相关文件


收藏者