Having real trouble figuring out where i\'m going wrong on this one. Building a system using WEKA in java to study associations and am trying to implement the Apriori algori
Your class is also named Apriori
, so you are experiencing a name clash.
You should change the name of your own class to a different name (e.g. AprioriTest
). In the unprobable case where you would really need your class to be named Apriori
, then you would have to refer to the library's implementation by it's full name:
weka.associations.Apriori apriori = new weka.associations.Apriori();
apriori.buildAssociations(dapriori);