Apriori
Apriori copied to clipboard
datafile is opened without close function
Inside the function dataFromFile(fname)
,the file is opened. But the file close function is not called, which is not safe. Suggest that call the with open...as...
instead of open
function.
I have implemented this lift
feature with more datasets. See my repo here:
https://github.com/zoeleesss/Apriori