This paper puts forward a kind of improved algorithm after analyzing the classical Apriori algorithm. Through scanning database only once, all transactions are transformed into components of a two-dimensional array. The algorithm becomes more practical by introducing weight. Moreover, the unnecessary data are deleted in time, and the joining and pruning steps become simple. This, theref...