Re: Why is it running FHN algorithm, display an error: ArrayIndexOutOfBoundsException
Date: September 15, 2021 09:15PM
Hi again,
I am trying to reproduce the problem, but I do not succeed.
With the GUI of SPMF, I run FHN on pumsb_negative.txt and minutil = 9999995 and there is no problem:
============= FHN ALGORITHM v0.96r18 - STATS =============
Total time ~ 3663 ms
Memory ~ 837.130859375 MB
High-utility itemsets count : 0
Candidate count : 0
===================================================
If I tried also from the example MainTestFHN_savetoFile but with pumsb_negative.txt, as you did, and minutil = 809999999, it also works:
============= FHN ALGORITHM v0.96r18 - STATS =============
Total time ~ 1871 ms
Memory ~ 85.49714660644531 MB
High-utility itemsets count : 0
Candidate count : 0
===================================================
The line number from the exception that you posted points to line 125 of the code of FHN which is for loading the database... So it seems to be likely an error about the format of the input file... Are you sure you used the right file?
If not, maybe you can tell me which minutil value you have used so that I can reproduce the bug, and then fix it.
Best regards