Method undefined for type Java

让人想犯罪 __ 提交于 2019-11-29 18:01:20

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);
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!