Options

W-Apriori algorithm rules are not displayed

akankshatrivediakankshatrivedi Member Posts: 8 Contributor I
edited December 2018 in Help

hi,

I have taken deals default data set and converted the values into numerical to binomial then connected it with W-Apriori but its output is not displaying the rules its just telling that 1 instance is found at support 0 and minimum metric 0.9 but not showing the output. with which association box I should link my apriori algorithm so that it can display the output?

rap.png 74.9K

Best Answer

  • Options
    sgenzersgenzer Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager
    Solution Accepted

    hello @akankshatrivedi - yes as @Thomas_Ott said this is not your error but the fact that the Weka extension is not native to RapidMiner, and hence is not always 100% compatible with the latest version.  I am tracking down the status of the Weka extension today for you.  If you really are under the gun, I would suggest trying to downgrade your version of RapidMiner (you can download any version of RapidMiner from the download page - scroll to the very bottom).  If you're not doing anything fancy, the older versions should work fine.

     

    I appreciate your patience.

     

    Scott

Answers

  • Options
    sgenzersgenzer Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager

    hello @akankshatrivedi - welcome to the community.  The W-Apriori operator is part of the Weka Extension and hence its results are rather hit-or-miss.  I will look into it a bit but FYI always encourage users to try using RapidMiner-native operators first whenever possible.

     

    Scott

  • Options
    akankshatrivediakankshatrivedi Member Posts: 8 Contributor I

    hi sgenzer,

    I have tried many rapid operations but having problem with this one. Waiting for your reply.

  • Options
    Thomas_OttThomas_Ott RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,761 Unicorn

    Methinks, in general, that the Weka extension needs to be updated. 

  • Options
    akankshatrivediakankshatrivedi Member Posts: 8 Contributor I

    No @Thomas_Ott I have just updated WEKA extension, i just need to know what operator I should connect it with so that association rule will be displayed as in FP algorithm "create association rules" operator is linked to generate frequent rules.

  • Options
    Thomas_OttThomas_Ott RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,761 Unicorn

    I'm referring to the fact that the Weka extension needs to be 'refreshed' and updated as an extension by RapidMiner, it's a few versions behind what is available. 

     

    That said, there are some interoperability issues between using RapidMiner generated Weka models and trying to 'score' them in RapidMiner. This might be a similar case when trying to extract the W-Apirori rules. 

  • Options
    akankshatrivediakankshatrivedi Member Posts: 8 Contributor I

    oh!

    WEKA is 7.3 and Rapidminer is 7.6 now what should I do?

    I'm working on this for my project. I have to implement it by any ways.

  • Options
    akankshatrivediakankshatrivedi Member Posts: 8 Contributor I

    hello @sgenzer,

    thanks for the advice but i'm searching for the older version which can support wwindows 32bit but I could not find it.

  • Options
    sgenzersgenzer Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager

    did you go to the downloads page and click on the "older versions" menu?  I just went there and was able to find it:

     

    Screen Shot 2017-11-03 at 9.06.28 AM.png

  • Options
    akankshatrivediakankshatrivedi Member Posts: 8 Contributor I

    please give the link, because what I can get on the site is version 7.6 not 7.3

  • Options
    David_ADavid_A Administrator, Moderator, Employee, RMResearcher, Member Posts: 297 RM Research

    Hi @akankshatrivedi ,

     

    as far as I can see, the W-Apriori Operator is still working fine. Just by chance your combination of the ExampleSet and the default parameters of the Operator resulted in a set of empty rules.

    If you change the max value in Numerical to Binominal to for example 50, the values for 'Age' are not all true. Likewise change the value of for the W-Apriori Operator to 1.0, then you actually get two rules in your result overview.

     

    The actual draw-back of the Weka Operators is, that the output is not compatible with the Apply Association Rules Operator. So I recommend to use the core Operators found under 'Modeling -> Associations' in the Operators tree.

     

    I hoped that helped you.

     

    Best,

    David

  • Options
    akankshatrivediakankshatrivedi Member Posts: 8 Contributor I

    no I can't see the older version tab

  • Options
    akankshatrivediakankshatrivedi Member Posts: 8 Contributor I

    hey @David_A,

    I have already changed the MAX values but W-Apriori is not running on iris dataset. even i have tried T=1.0 aslo but doesn't wrok. but I have taken supermarket data set and changed the values "nominal to numerical" and then "numerical to binomial", it produced the rules though it is showing the error "potential problem detected". without nominal to numerical conversion it is showing "no rules found".

    sent.png 104.4K
Sign In or Register to comment.