recsys-pipeline-architect
# Composable Recommendation, Ranking, and Feed Pipelines ## The Six-Stage Framework ``` Source → Hydrator → Filter → Scorer → Selector → SideEffect ``` ### Stage 1: Source **Purpose**: Generate candidate pool ```python class Source: """Generates initial candidate set""" def get_candidates(self, user_id: str, context: dict) -> list[Item]: pass # Examples: class FollowingSource(Source): def get_candidates(self, user_id: str, context: dict): return db.get_following_posts(user_id, limit=1000) class ExplorationSource(Source): def get_candidates(self, user_id: str, context: dict): return db.get_trending_posts(limit=500) class H
Bron: github.com/affaan-m/ECC/tree/main/skills/recsys-pipeline-architect · Licentie: MIT
Volledige uitleg, versies en download zijn beschikbaar voor leden — lidmaatschap is gratis.