#import the algorithm
from PAMI.extras.syntheticDataGenerator import transactionalDatabase as tdb
#specify the parameters
databaseSize = 100000
numberOfItems = 2000
averageLengthOfTransaction = 10
outputFileName = 'T10.txt'
seperator = '\t'
#initialize the algorithm
alg = tdb.transactionalDatabase(databaseSize, \
numberOfItems, \
averageLengthOfTransaction)
#execute the algorithm
alg.generate()
#save the generated data in a file
alg.save(outputFileName, seperator)