mhahsler / arules

Mining Association Rules and Frequent Itemsets with R
http://mhahsler.github.io/arules
GNU General Public License v3.0
194 stars 42 forks source link

Why only 1 item on the right-hand-side of the rules? #18

Closed leih123 closed 8 years ago

leih123 commented 8 years ago

Dear Michael,

May I know why arules only generate rules with only 1 item on the right-hand-side? I have seen you have answered in

http://r.789695.n4.nabble.com/how-to-change-number-of-itemes-appeare-in-right-hand-side-of-the-rule-with-apriori-in-R-arules-td1559955.html

But do you mind to explain a bit more? If only rules with 1 item on the right-hand-side are generated, does it mean a lot of rules will be neglected (rules with >1 item on the right-hand-side) and also associations/patterns between items?

Is a rule with more than 1 item on the RHS producing less value (less useful) than the rules with only 1 item on the RHS so it can be neglected?

Many thanks for your help.

mhahsler commented 8 years ago

You do not loose much information. It is literally just how most algorithms are implemented.

leih123 commented 8 years ago

Ya, I found the full explanation on

http://www.borgelt.net/doc/apriori/apriori.html#conseq

Thanks anyway