Re: [R] transaction list transformation to use rpart.

2011-03-07 Thread Allan Engelhardt
On 06/03/11 22:34, John Dennison wrote: [...] from data like Customer-ID | Item-ID cust1 | 2 cust1 | 3 cust1 | 5 cust2 | 5 cust2 | 3 cust3 | 2 ... #read in data to a sparse binary transaction matrix txn = read.transactions(file="tranacti

[R] transaction list transformation to use rpart.

2011-03-06 Thread John Dennison
So there are a couple parts to this question. I am trying to implement the rpart/random forest algorithms on a transaction lists. That is to say i am trying to train models in order to deduce what are the most predictive transactions within a customers history in order apply this model to future te