- Learning Data Mining with Python(Second Edition)
- Robert Layton
- 279字
- 2021-07-02 23:40:11
Affinity analysis
Affinity analysis is the task of determining when objects are used in similar ways. In the previous chapter, we focused on whether the objects themselves are similar - in our case whether the games were similar in nature. The data for affinity analysis is often described in the form of a transaction. Intuitively, this comes from a transaction at a store—determining when objects are purchased together as a way to recommend products to users that they might purchase.
However, affinity analysis can be applied to many processes that do not use transactions in this sense:
- Fraud detection
- Customer segmentation
- Software optimization
- Product recommendations
Affinity analysis is usually much more exploratory than classification. At the very least, we often simply rank the results and choose the top five recommendations (or some other number), rather than expect the algorithm to give us a specific answer.
Furthermore, we often don't have the complete dataset we expect for many classification tasks. For instance, in movie recommendation, we have reviews from different people on different movies. However, it is highly unlikely we have each reviewer review all of the movies in our dataset. This leaves an important and difficult question in affinity analysis. If a reviewer hasn't reviewed a movie, is that an indication that they aren't interested in the movie (and therefore wouldn't recommend it) or simply that they haven't reviewed it yet?
Thinking about gaps in your datasets can lead to questions like this. In turn, that can lead to answers that may help improve the efficacy of your approach. As a budding data miner, knowing where your models and methodologies need improvement is key to creating great results.
- 深入核心的敏捷開發(fā):ThoughtWorks五大關(guān)鍵實踐
- INSTANT Sencha Touch
- HTML5游戲開發(fā)案例教程
- STM32F0實戰(zhàn):基于HAL庫開發(fā)
- 基于Swift語言的iOS App 商業(yè)實戰(zhàn)教程
- Visual C#通用范例開發(fā)金典
- 執(zhí)劍而舞:用代碼創(chuàng)作藝術(shù)
- Creating Mobile Apps with jQuery Mobile(Second Edition)
- Android驅(qū)動開發(fā)權(quán)威指南
- Unity 3D腳本編程:使用C#語言開發(fā)跨平臺游戲
- Visual Basic程序設(shè)計習(xí)題與上機實踐
- App Inventor 2 Essentials
- Java并發(fā)實現(xiàn)原理:JDK源碼剖析
- 創(chuàng)新工場講AI課:從知識到實踐
- HTML5 and CSS3:Building Responsive Websites