The Data Mining Forum                             open-source data mining software data mining conferences Data Science for Social and Behavioral Analytics DSSBA 2022 data science journal
IMPORTANT: This is the old Data Mining forum.
I keep it online so that you can read the old messages.

Please post your new messages in the new forum: https://forum2.philippe-fournier-viger.com/index.php
 
Execution problem in FP Growth source code
Posted by: sahil
Date: March 30, 2014 10:38PM

I have created new java project for FP Growth and also imported all the files successfully but having some issues during compilation.please check it


Exception in thread "main" java.lang.NullPointerException
at fp.MainTestAllAssociationRules_FPGrowth_saveToFile.fileToPath(MainTestAllAssociationRules_FPGrowth_saveToFile.java:42)
at fp.MainTestAllAssociationRules_FPGrowth_saveToFile.main(MainTestAllAssociationRules_FPGrowth_saveToFile.java:19)

Options: ReplyQuote
Re: Execution problem in FP Growth source code
Date: March 31, 2014 04:52AM

It seems to be an issue about file paths.

I see that you have changed the package name so this could be the reason.

I would recomment to change the file paths to relative paths.

For example:

String input = "c:\\your_directory\\your_inputfile.txt";

String output = "c:\\your_directory\\your_outputfile.txt";

Then it should work.



Edited 1 time(s). Last edit at 03/31/2014 04:52AM by webmasterphilfv.

Options: ReplyQuote


This forum is powered by Phorum and provided by P. Fournier-Viger (© 2012).
Terms of use.