algo-rec-hybrid

Solid

"Design hybrid recommendation systems combining multiple strategies for improved accuracy. Use this skill when the user needs to overcome single-method limitations, combine collaborative and content-based filtering, or build a production recommendation pipeline — even if they say 'combine recommendation approaches', 'best recommendation architecture', or 'cold start plus personalization'.".

AI & Automation 22 stars 8 forks Updated 6 days ago MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
45
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Hybrid Recommendation System ## Overview Hybrid recommendation combines multiple strategies (CF, content-based, knowledge-based) to overcome individual method limitations. Common architectures: weighted, switching, cascade, feature augmentation, and meta-level. Complexity varies by architecture. ## When to Use **Trigger conditions:** - Building a production recommendation system that must handle cold start AND personalization - Single methods have known weaknesses for your use case - Need to balance accuracy, diversity, and coverage **When NOT to use:** - When you have a single clean data source (start with the matching single method first) - When system simplicity is more important than marginal accuracy gains ## Algorithm ``` IRON LAW: Hybrid Adds Value ONLY With Complementary Strengths Combining two systems with the SAME weakness amplifies the weakness. CF fails on cold start + content-based fails on cold start = hybrid STILL fails on cold start. Choose components that cover each other's gaps. ``` ### Phase 1: Input Validation Identify available data: interaction history (for CF), item features (for content-based), contextual signals (time, device, location). Map data to method capabilities. **Gate:** At least two complementary data sources available. ### Phase 2: Core Algorithm **Weighted hybrid:** Score = α × CF_score + β × CB_score. Tune weights via cross-validation. **Switching hybrid:** Use CF when sufficient data exists; switch to content-based for cold s...

Details

Author
charlieviettq
Repository
charlieviettq/awesome-agent-skill
Created
2 months ago
Last Updated
6 days ago
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

algo-rec-content

"Implement content-based recommendation by matching item features to user preference profiles. Use this skill when the user needs to recommend items based on attributes, solve the cold start problem for new items, or build recommendations without collaborative data — even if they say 'recommend similar products', 'items like this', or 'feature-based matching'.".

22 Updated 6 days ago
charlieviettq
AI & Automation Solid

algo-rec-cf

"Implement collaborative filtering for recommendations based on user behavior patterns. Use this skill when the user needs to build a recommendation engine from user-item interaction data, find similar users or items, or predict ratings — even if they say 'users who bought this also bought', 'similar users', or 'recommend based on behavior'.".

22 Updated 6 days ago
charlieviettq
AI & Automation Listed

senior-recommender-engineer

Use when designing, building, evaluating, or operating production ranking and recommendation systems: feed ranking, product recommendations, search ranking, content discovery, ads relevance, related items, you may also like, up next, home feed. Covers two stage retrieval plus ranking, two tower embedding retrieval, learning to rank (LTR), multi objective optimization (relevance plus engagement plus business value), diversity and MMR, exploration vs exploitation, contextual bandits, off policy evaluation (IPS, doubly robust), position bias correction, cold start strategies, and slice based monitoring. Triggers: recommender, recommendation, ranking, feed, candidate generation, CTR, watch time, engagement, recommender eval, NDCG, hit rate. Produces two stage pipeline designs, LTR specs, multi objective policies, off policy eval reports, exploration policies, cold start playbooks. Not for the training pipeline, see senior-ml-engineer; not for online experiment rigor, see senior-data-scientist.

0 Updated 1 weeks ago
iamdemetris