List of Listings
Chapter 2. User behavior and how to collect it
Listing 2.1. Creating an AJAX call to the collector: /moviegeek/static/js/collector.js
Listing 2.2. Receiving calls from listing 2.1: /moviegeek/collector/view.py
Chapter 3. Monitoring the system
Listing 3.1. SQL script to calculate conversion rate
Listing 3.2. SQL calculating the distribution of events
Listing 3.3. SQL script calculates how many times each event happens in each session
Listing 3.4. SQL script finding pairs of users and content
Listing 3.5. SQL script finding events leading up to a buy
Listing 3.6. SQL script to find path conversions
Listing 3.7. Selecting a random user and film: populate_logs.py
Chapter 4. Ratings and how to calculate them
Get Practical Recommender Systems now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.