vrajroham / apriori-algorithm-implementation

Automatically exported from code.google.com/p/apriori-algorithm-implementation
0 stars 0 forks source link

passing input file to aprioriimplementation.cpp #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1.After running with VS2010 and cmd.exe, the only thing is see is:

reading...

2. i tested the apriori input generator source code on the same environment and 
it worked perfectly.

3. my only challenge now is ensuring the the main program reads the input files 
for required parameters. please a timely response will be deeply appreciated. 

thanks

Original issue reported on code.google.com by fromhabi...@gmail.com on 15 Mar 2013 at 2:26

GoogleCodeExporter commented 9 years ago
I didn't see any code within this project to read such an input file. Also, 
when it is printing "reading..." it's just waiting for your manual input (first 
min_support, then number of items, then number of transactions, then the binary 
values for each item in each transaction).
I changed some code in the main method to have input files read to suit my 
needs, and everyone who wants that functionalty will have to do the same i 
guess.
But as I am quite unsure regarding c++, my solution might be far from optimal 
;-)

Original comment by lutz.th...@gmail.com on 14 Jul 2013 at 8:19

Attachments:

GoogleCodeExporter commented 9 years ago
When I substitute your solution for the original AprioriImplementation.cpp, it 
comes up with a error at line 47 stating that "‘class Matrix’ has no member 
named ‘setData’", and I looked in the .hpp file, and it doesn't! If you 
wrote a setData method, could you share that too, please? :)  If not, I'll just 
hack something together. Thanks! 

Original comment by claire_b...@msn.com on 28 Aug 2013 at 3:19

GoogleCodeExporter commented 9 years ago
If you still have the database.cpp(updated) can you upload it. thanks!

Original comment by deepak...@gmail.com on 28 May 2015 at 12:37