- 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.
- Java應(yīng)用開發(fā)與實踐
- Web開發(fā)的貴族:ASP.NET 3.5+SQL Server 2008
- MATLAB應(yīng)用與實驗教程
- 匯編語言程序設(shè)計(第3版)
- 軟件工程
- ADI DSP應(yīng)用技術(shù)集錦
- Java項目實戰(zhàn)精編
- Java系統(tǒng)化項目開發(fā)教程
- Visual Basic程序設(shè)計教程
- 蘋果的產(chǎn)品設(shè)計之道:創(chuàng)建優(yōu)秀產(chǎn)品、服務(wù)和用戶體驗的七個原則
- 搞定J2EE:Struts+Spring+Hibernate整合詳解與典型案例
- Java Web應(yīng)用開發(fā)項目教程
- Java RESTful Web Service實戰(zhàn)
- ANSYS FLUENT 16.0超級學(xué)習(xí)手冊
- 編寫高質(zhì)量代碼之Java(套裝共2冊)