- Learning Data Mining with Python(Second Edition)
- Robert Layton
- 289字
- 2021-07-02 23:40:03
Product recommendations
One of the issues with moving a traditional business online, such as commerce, is that tasks that used to be done by humans need to be automated for the online business to scale and compete with existing automated businesses. One example of this is up-selling, or selling an extra item to a customer who is already buying. Automated product recommendations through data mining are one of the driving forces behind the e-commerce revolution that is turning billions of dollars per year into revenue.
In this example, we are going to focus on a basic product recommendation service. We design this based on the following idea: when two items are historically purchased together, they are more likely to be purchased together in the future. This sort of thinking is behind many product recommendation services, in both online and offline businesses.
A very simple algorithm for this type of product recommendation algorithm is to simply find any historical case where a user has brought an item and to recommend other items that the historical user brought. In practice, simple algorithms such as this can do well, at least better than choosing random items to recommend. However, they can be improved upon significantly, which is where data mining comes in.
To simplify the coding, we will consider only two items at a time. As an example, people may buy bread and milk at the same time at the supermarket. In this early example, we wish to find simple rules of the form:
If a person buys product X, then they are likely to purchase product Y
More complex rules involving multiple items will not be covered such as people buying sausages and burgers being more likely to buy tomato sauce.
- 新編Visual Basic程序設計上機實驗教程
- Boost程序庫完全開發(fā)指南:深入C++”準”標準庫(第5版)
- Mastering Objectoriented Python
- PHP基礎案例教程
- 基于Java技術的Web應用開發(fā)
- Essential Angular
- Python高效開發(fā)實戰(zhàn):Django、Tornado、Flask、Twisted(第2版)
- MySQL數(shù)據(jù)庫管理與開發(fā)實踐教程 (清華電腦學堂)
- 從0到1:Python數(shù)據(jù)分析
- Kubernetes源碼剖析
- Red Hat Enterprise Linux Troubleshooting Guide
- Python期貨量化交易實戰(zhàn)
- 零基礎學Scratch 3.0編程
- Learning iOS Security
- Java 9 Programming By Example