Orange Forum • View topic - Association Rules

Association Rules

A place to ask questions about methods in Orange and how they are used and other general support.

Association Rules

Postby MM » Thu Aug 06, 2009 12:04

Hello,

I am new to Orange.
I am using Associating Rules and I want to check which products customers are buying together. But when I run the analysis, it tells me mainly "which products they are NOT buying together". I mean, all rules are like:
"product1 = no -> product2 = no", while I am interested in rules like
"product1 = yes -> product3 = yes".

I would like to know, if there is any easy method to select only those rules beginning with "true" or "yes", and delete rest of them?

Or is there a possibility to set variable as "flag" (and then value 1 means "the product was bought in this transaction" and value 0 means the opposite) to select only useful rules?

Thanks,
Mike

Postby Janez » Sat Aug 08, 2009 22:58

You should put the data in basket format (http://www.ailab.si/orange/doc/reference/basket.htm) and then use the algorithm for sparse data (http://www.ailab.si/orange/doc/catalog/ ... nRules.htm).

Janez


Return to Questions & Support