All Snippets
Real-time Z-score for requested ride duration
Computes the z-score of the requested ride, relative to historical rides.
Daily returns for stocks
Determine the percent of daily return from one closing price to the next closing price.
Yesterday’s stock closing prices
Get the previous day's closing price (useful for day-to-day comparisons).
Search query and candidate product title similarity
Compute the Jaccard similarity between the user's search query and the candidate product title.
Candidate product was viewed by user
Determine if the candidate product is included in the user's most recent 10 product visits within the last hour.
Product popularity metrics
Determine the popularity of a candidate product by analyzing its visit count, cart additions, and purchase frequency.
Applicant’s total spend across accounts
Determine an applicant’s total spend across accounts in the last 30, 60, and 90 days.
User’s historical interactions with all product categories
Aggregate a user’s historical interactions with all product categories.
Z-score of current transaction amount
Identify by how many standard deviations the current transaction amount deviates from the mean transaction amount for a user.
Ratings for similar products by user
Capture a user’s previous interactions and ratings with books from the same author and category as the book currently being considered.
Most recent user ratings
Retrieve a user’s latest unique distinct product ratings within the past 365 days.
User-merchant transaction count
Examine the number of transactions made by a user at the same merchant in the 30 minutes immediately preceding the current transaction time.