"Association Rules, taking very long time"

zainab2013zainab2013 MemberPosts:7Contributor I
edited June 2019 inHelp
Hi all,
I'm trying to run the tutorial of association rules, but it takes very long time and still not getting any results.
I waited for several hours but didn't get the results.
my laptop is Toshiba core 2 due centrino, with 2.5 Ram.
do I need a very high specifications laptop?? or is there another problem ?

Answers

  • zainab2013zainab2013 MemberPosts:7Contributor I
    no answer ??????????
  • MariusHelfMariusHelf RapidMiner Certified Expert, MemberPosts:1,869Unicorn
    Hi,

    how much data are you processing? How many rows and columns do you pass into the Association Rules and/or FP-Growth operator?
    由于这些运营商需要一些ti的算法me and memory on bigger datasets, but they can probably be tweaked a little to perform faster.

    As always, it would also be a good idea to post your process setup, as described in the link in my signature.

    Best regards,
    Marius
  • zainab2013zainab2013 MemberPosts:7Contributor I
    Actually I have tried different size data sets, ranging from 150 to 4000 instances. But I didn't get any results. The last time I have run the tutorial process and waited for it more than 15 hours uselessly.
  • MariusHelfMariusHelf RapidMiner Certified Expert, MemberPosts:1,869Unicorn
    Can you please post your process setup?

    Best regards,
    Marius
  • zainab2013zainab2013 MemberPosts:7Contributor I
    retrieve Iris dataset -> Descretize by frequency -> Nominal to binominal -> FP-Growth -> Create Association Rules
  • MariusHelfMariusHelf RapidMiner Certified Expert, MemberPosts:1,869Unicorn
    Thank you. Which operator is actually consuming most of the time? Maybe it can be tweaked; I can have a look if you post your process setup as described below:

    Open your process in RapidMiner and open the XML view, which is usually located above the process view. If you can't find it, make sure that it is checked in the menu under View -> Show View.
    Copy the XML code from there and paste it into your forum post. Surround your pasted XML code with code tags as shown in the example below (omit the space before the slash in the second code-tag).

    Code:
    your XML code here[ /code]
    You can also simply use the "//www.turtlecreekpls.com/community/discussion/25998/#"-button above the input box in the forum.
  • zainab2013zainab2013 MemberPosts:7Contributor I
    Thanks a lot for your effort. Here's the XML code for the process :





































  • MariusHelfMariusHelf RapidMiner Certified Expert, MemberPosts:1,869Unicorn
    Hi,

    from your code I see that you have a quite low number for the minimum support in FPGrowth. That can result in a very big list of frequent item sets, which can exceed your memory limit, and of course finding the association rules is also more expensive on an excessive list of item sets. If you use a low support also in your production process, you could try to increase the minimum support.

    Best regards,
    Marius
Sign InorRegisterto comment.