Re: Question regarding FHM+
Date: August 13, 2021 08:31AM
Dear Carter,
I am happy to hear about your tests using the SPMF software. I am sorry to answer almost two weeks later. It is here the vacation time in China and I did not check the forum for a while.
It is indeed a good idea to set these maximum constraints to filter longer patterns.
While FPGrowth can be used to generate rules, the FHM+ algorithm is only designed to generate itemsets (sets of values) rather than rules like A --> C. This is the reason why there is no max antecedent and max concsequent. The concept of antecedent and consequent only exist for rules. The antecedent is the left side of the rule and the consequent is the right side.
FHM+ will find itemsets like {a,b} indicating that a and b appear together and have a high utility. But this is different from a rule like a--> b or b --> a.
If you want to generate association rules with utility, there is no algorithm for this in SPMF. If you really need this, maybe it could be done in another way? or some algorithm could be adapted? I am not sure... Maybe it depends on your application.
Again, I answer you quite late. Hope you have found some other ideas to solve the problem you were facing!
Best regards,
Philippe