A shopping basket refers to a basket of goods used by customers when shopping in a supermarket. When the customer pays, the goods in these shopping baskets are registered and settled one by one through the cash register and recorded by the salesperson. The so-called market basket analysis (Market Basket Analysis) is to study the purchase behavior of customers through the information displayed in these shopping baskets. The main purpose is to find out which things should be put together. Through the purchase behavior of customers to understand what type of customers are and why these customers buy these products and find out related association rules. Companies can gain benefits by mining these rules and establish a competitive advantage. For example, retail stores use Shopping supermarket basket analysis to change the arrangement of goods on shelves or design commercial packaging that attracts customers.