An algorithm for mining frequent closed itemsets with density from data streams