concept conversion in category recommender system

appears as: conversions, conversion, conversion, A conversion
Practical Recommender Systems

This is an excerpt from Manning's book Practical Recommender Systems.

Figure 3.6. Two ways of looking at conversion
Listing 3.1. SQL script to calculate conversion rate
select count(distinct(session_id)) as visits,
       count(case when conversion > 0
                  then 1 end) as conversions     #1
from
( select session_id,                             #2
         sum(case when event = 'buy'
                  then 1
                  else 0 end) as conversion
  from collector_log
  group by session_id
 ) c

3.2.4. Analyzing the path up to conversion

You’re happy when a conversion happens, and the purpose of the recommender is to make the user convert. Now if you do a query to find all the event types stored in the database, along with a count of the number of times those events occurred, the results could look like the following:

Many things can influence how your application runs. You might have an increase in conversions because you added new content to your catalog, or Christmas is around the corner so people might go on a frenzied buying spree, or you might have a completely different reason. What I’m getting at is that there are many different factors that influence the state of e-commerce, including many that you can’t control. This is important to consider because you might launch a new recommender system, or a change to an existing one, and when that something else happens, it might look like it’s the recommender’s fault. It’s hard to test whether a recommender has a positive effect. To get around this, you can use A/B testing to see if your change has any effect.