[R] How can I compare two apriori rules created from the same dataset

Chris Chinedozie chr|@momentu@ @end|ng |rom gm@||@com
Sat Sep 14 22:27:31 CEST 2019

I have a dataset and I divided it into 2 datasets RANDOMLY A and B, where A
is 70% of the main dataset and B is 30%... Then I applied Apriori algorithm
on the both A and B separately, generating its rules..
I want to compare rules from dataset A to rules of dataset B
A has the following rules

B has the following rules
A(sex=0,age=1) => B(sex=0,age=1,money=1) returns TRUE
A(sex=1,age=1,money=0) => B(sex=1,age=1,money=0)) returns TRUE
A(sex=0,age=2,money=2) => B(sex=1,age=1,money=0) returns FALSE

Chris G. Chinedozie
Universidade Federal do Rio de Janeiro

	[[alternative HTML version deleted]]

More information about the R-help mailing list