ML Problems - ranking
#01 Recommendation Systems

Build a Bandit-Based Recommendation System for Online Exploration Free

Replace a two-week A/B test with an online bandit on 40 candidate rails: tuned LinUCB cuts cumulative regret from 1153.67 to 631.37, and the swept exploration constant turns out to matter more than the choice of algorithm.

Read
#02 Classical Ml

Build a Click-Through-Rate Prediction Model with Logistic Regression and Feature Crosses Free

Predict click probability for 480 million daily ad requests with hashed feature crosses and FTRL logistic regression, cutting normalized entropy from 0.92 to 0.795 while holding calibration at 1.00 and scoring 600 candidates in 7ms.

Read
#03 Recommendation Systems

Build a Collaborative Filtering Recommender with Matrix Factorization Free

Rank 142,000 audiobook titles for 1.87M listeners from 96.4M implicit listens using confidence-weighted ALS and BPR, lifting NDCG@10 from a popularity baseline's 0.094 to 0.188 while isolating the popularity-bias, cold-start and sampled-metric traps.

Read
#04 Recommendation Systems

Build a Content-Based Recommendation Engine Using Embeddings Free

Build a related-reading recommender over 412,000 editorial articles from text and metadata embeddings, lifting NDCG@10 from a 0.118 popularity baseline to 0.301 while fixing the hubness, filter-bubble and ANN-recall traps that the ranking metric never shows.

Read
#05 Recommendation Systems

Build a Diversity-Aware Re-Ranking Layer for Recommendation Results Free

Re-rank a frozen relevance model's candidate pool with MMR, a DPP and calibration: mild diversification raises intra-list diversity from 0.3439 to 0.4988 while recall@20 also rises from 0.4207 to 0.4227.

Read
#06 Recommendation Systems

Build a Hybrid Recommender Combining Collaborative and Content Signals Free

Combine an implicit-feedback matrix factorization with a content embedding index over 86,000 courses, lifting NDCG@10 from 0.247 to 0.296 with a count-gated reranker while keeping the cold-item reach a naive weighted sum silently destroys.

Read
#07 Ranking

Build a Learning-to-Rank Model for Search Results with LambdaMART Free

Replace 41 hand-tuned search ranking weights with LambdaMART over 4.1 million editorial judgements, lifting NDCG@10 from 0.428 to 0.531 while fixing the position bias, query-group leakage and metric-choice traps that make the number meaningless.

Read
#08 Recommendation Systems

Build a Two-Tower Neural Network for Candidate Retrieval at Scale Free

Cut a 20 million item catalogue to 100 candidates in 9 milliseconds with a two-tower retriever: in-batch negatives plus a logQ correction lift recall@100 from 0.1735 to 0.2417, and the HNSW index gives 0.019 of it back.

Read