Google Colab
Overview
This example runs through setting up a collaborative filtering ranking model in the Arize platform. A collaborative filtering model is normally used in recommendation engines to produce ranked personalized recommendations. This example works through a ranking recommendation based on predicting the user’s 5-star rating of an unseen movie. Learn more here.
Collaborative Filtering
Common Observability Data for Collaborative Filtering
The common data tracked includes:- Timestamp: The date/time of the prediction/recommendation event.
- Prediction ID: A unique ID for a single prediction within a ranked list.
- Group ID: The group ID, such as a user or category, that identifies an entire ranked list.
- **Relevancy Score: **A score capturing the actual relevance of a prediction.
- Relevancy Labels: The truth label such as “purchase” or “click”.
- Rank: a numeric representation of the order of the prediction in the ranked list.
- Prediction score: ****The predicted score used to rank the list of predicted recommendations.
Common Performance Metrics
The common metrics for Collaborative Filtering are:- LogLoss (for click and not-click)
- MAE, MAPE, RMSE (for rating prediction)
- NDCG or Recall @ k