__________________________________________________
Gradual Pattern Mining
__________________________________________________

usage: pairmining file minsupport [mapping]
	* file is the dataset to be mined.
	* minsupport is the user-defined minimum support threshold, range from 1 to n(n-1)/2 where 
	n is the number of tuples in file. 
	*[mapping] is an optional paramater (it corresponds to the name of a mapping file in which 
	the "string" description of the "integer" item is given.
	
	example of use: 
	 ./pairmining mytest.txt  3
	./pairmining mytest.txt 2 mymapping.txt
	

output format without mapping: 
Given a dataset containing n attributes the output describes gradual patterns (i.e. negative 
and/or positive trends with 2n-1 attributes).

Indeed, 2i  means i+ and 2i-1 means i-; the absolute support is then given. 
For instance, [2, 3, 5] 3 means that the itemset {1+,2-,3-} has a support of 3. 

Be aware that the attribute numeration begins with 0. 


	
__________________________________________________
Rules
__________________________________________________

../rules/rules setsfile minconf [output]

setsfile is the file containing the frequent gradual itemsets (output of pairmining)
minconf is the user-defined minimum confidence.
output enable to print the confident rules within a file. 

Example of use:  ../rules/rules res_test.txt 0.3 ../rules/myrules.txt
