//
//Association analysis command 
//
//This command generate association rules by Appriori algorithm 
//which was made by Christian Borgelt. 
//(Remark)
//Association rule is represented as follow.
//BODY <- HEAD (member(%) , support(%) , confidence(%))
//Association rule is showed by range which is defined by option. 

//Syntax
assoc/
options
;

//Options 
smin=0.xx     //minmum support condition     0.0 ` 1.0 
smax=0.xx     //maxmum supoort condition     0.0 ` 1.0 
conf=0.xx     //minmum confidence condition  0.0 ` 1.0 

//support(A -> B)    is  A / ALL
//confidence(A -> B) is  B / A

//Example 1
//read transaction data.
get assoc2.csv@;

//execute association rule assoc/ smin:0.6 conf:0.7 ;

beer - diaper association rule is detected.