The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Association Rules
Hi there,
First of all let me apologize for my poor english. I´m from germany and english isn´t one of my best skills.
I´m totally new to RapidMiner and I have to do a little homework for my university. I have to analyse 100k datasets for association rules. Those datasets aren´t really complex, but I have zero experience in working with RapidMiner. One dataset consists of one custommer ID, one article ID and an integer variable between 0 and 2 with the translation: 0 = article was watched, 1 = article was placed in the shopping basket and 2 = article was puchased. Here are some examples:
ID article action
1 23 0
1 92 0
1 40 2
2 92 1
2 12 0
In this example customer 1 watched articles 23 and 92 and then bought article 40. Customer 2 put article 92 in his basket und watched article 12. So one customer can only choose one of the three actions for one article. There are no datasets with equal ID´s and equal article ID´s but different action. There will always be just one action for any article a customer looked at. I hope you get the idea of those datasets.
Now I have to find some rules like: If article 23 and article 92 were watched, article 40 was bought. But I have no clou how to find those rules with my RapidMiner community edition 5.3. My datasets are located in an excel file, so I read them and since the FP-Growth algorithm needs binomial attributes, I converted every attribut into binomial. At the end I connected the FP-Growth operator withe the Create Association Rules Operator. But the result I get are totally wrong. They ary like: If Article_ID Then Action or If Acticle_ID and customer_ID Then action. Instead I would like to get rules like: If article_ID = 23 and action = 0, article_ID = 92 and action = 0 then article_ID = 40, action = 2.
Can anybody explain to me how association rules in RapidMiner work? Do I have to transform my datasets or are there any operator configurations I have to do. Please halp me.
Btw. Again, sorry for my bad english.
First of all let me apologize for my poor english. I´m from germany and english isn´t one of my best skills.
I´m totally new to RapidMiner and I have to do a little homework for my university. I have to analyse 100k datasets for association rules. Those datasets aren´t really complex, but I have zero experience in working with RapidMiner. One dataset consists of one custommer ID, one article ID and an integer variable between 0 and 2 with the translation: 0 = article was watched, 1 = article was placed in the shopping basket and 2 = article was puchased. Here are some examples:
ID article action
1 23 0
1 92 0
1 40 2
2 92 1
2 12 0
In this example customer 1 watched articles 23 and 92 and then bought article 40. Customer 2 put article 92 in his basket und watched article 12. So one customer can only choose one of the three actions for one article. There are no datasets with equal ID´s and equal article ID´s but different action. There will always be just one action for any article a customer looked at. I hope you get the idea of those datasets.
Now I have to find some rules like: If article 23 and article 92 were watched, article 40 was bought. But I have no clou how to find those rules with my RapidMiner community edition 5.3. My datasets are located in an excel file, so I read them and since the FP-Growth algorithm needs binomial attributes, I converted every attribut into binomial. At the end I connected the FP-Growth operator withe the Create Association Rules Operator. But the result I get are totally wrong. They ary like: If Article_ID Then Action or If Acticle_ID and customer_ID Then action. Instead I would like to get rules like: If article_ID = 23 and action = 0, article_ID = 92 and action = 0 then article_ID = 40, action = 2.
Can anybody explain to me how association rules in RapidMiner work? Do I have to transform my datasets or are there any operator configurations I have to do. Please halp me.
Btw. Again, sorry for my bad english.
0
Answers
Items Size Frequenzy Support Score
Amount_Item 72_1.0 1,0 156,0 ,2 1,0
Amount_Item 72_3.0 1,0 155,0 ,2 1,0
Amount_Item 25_1.0 1,0 151,0 ,2 1,0
Amount_Item 76_2.0, Amount_Item 46_2.0 2,0 319,0 ,3 1,0
Amount_Item 76_2.0, Amount_Item 53_2.0 2,0 335,0 ,3 1,1
Amount_Item 76_2.0, Amount_Item 31_2.0 2,0 328,0 ,3 1,1
Amount_Item 76_2.0, Amount_Item 3_2.0 2,0 326,0 ,3 1,1
Here are some examples. And I don´t know what the 3 in Amount_Item 72_3.0 stands for.
Can you please help me one last time?
Items Size Frequenzy Support Score
Amount_Item 72_1.0 1,0 156,0 ,2 1,0
mean?
Please note that every operator offers a detailed help that will explain most of the things.