Recommender System
推荐系统(Recommender System)—— 基于内容的推荐 / 协同过滤,纯 NumPy 实现。 当用户提到"推荐系统"、"recommender system"、"协同过滤"、"collaborative filtering"、 "内容推荐"、"content-based filtering"、"推荐算法"、"评分预测"、"帮我推荐"、 "电影推荐"、"商品推荐"、"recommendation system"、"推荐引擎"、"基于内容的推荐"、 "基于协同过滤"、"预测评分"、"推荐电影"、"推荐商品"、"similar items"、"相似物品"、 "找出相似"等类似场景时触发。 适用于任何"有用户-物品评分数据,想预测缺失评分或推荐物品"的需求。 不要手动写代码——必须调用此技能来统一处理。
Install
npx skills add muralidharsoth-tech/andrew-ng-ml-claude-skills --skill recommender-systemgit clone --depth 1 https://github.com/muralidharsoth-tech/andrew-ng-ml-claude-skills.git /tmp/andrew-ng-ml-claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/andrew-ng-ml-claude-skills/skills/recommender-system ~/.claude/skills/recommender-systemPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# 推荐系统(Recommender System) ## 概述 基于吴恩达课程第 9 周的推荐系统算法,核心原理: - **基于内容的推荐**:利用物品特征 x^(i),学习用户偏好参数 theta^(j),predict = theta^T x - **协同过滤**:同时学习物品特征 x^(i) 和用户参数 theta^(j),从评分数据自动发现隐含特征 - **均值归一化**:消除评分偏置,解决新用户冷启动问题 - **相似物品**:基于学习到的特征向量 ‖x^(i) - x^(k)‖² 找相似物品 - 所有代码使用纯 NumPy + Matplotlib,向量化实现,自动保存为带时间戳的 `.py` 文件 ### 核心规则 - 数据输入支持三种方式:粘贴数组、CSV 文件、口头描述 - 自动判断走"基于内容推荐"还是"协同过滤" - 协同过滤时自动推荐隐含特征数 n_features - lambda、alpha、iters 三个参数智能推荐,用户可调整 - 输出包含:预测函数、Top-N 推荐、相似物品、`.py` 代码文件、`.png` 可视化图表 --- ## 交互流程 ### 环境预检(生成代码前必须执行) 先确认当前 Python 解释器可以导入 numpy 和 matplotlib。 缺少依赖时暂停执行并提示:python -m pip install -r requirements.txt,然后运行 python check_env.py;预检未通过时不要声称代码可运行。 ### 步骤 1:数据输入 > 请提供你的评分数据。支持三种方式: > > **A. 粘贴数组** — 直接粘贴 Python 格式的评分矩阵 > **B. CSV 文件** — 提供文件路径,我来读取 > **C. 口头描述** — 描述场景,我来生成模拟数据 > > 如果你有物品特征(如电影类型、主演等),也请一并提供。 自动判断输入类型: ``` 包含 ".csv" → CSV 文件模式 包含 "[[", "np.array", "Y =", "R =" 等 → 数组粘贴模式 包含 "大概", "模拟", "比如" 等 → 口头描述模式 ``` #### 模式 A:粘贴数组 > 请粘贴你的数据。格式示例: > ```python > # 评分矩阵(0 = 未评分): > # 行=电影, 列=用户 > Y = [[5, 4, 0, 0], > [3, 0, 0, 4], > [0, 4, 5, 0], > [0, 0, 5, 4]] > > # 或者评分记录列表: > # (物品索引, 用户索引, 评分) > ratings = [(0, 0, 5.0), (0, 1, 4.0), (1, 0, 3.0), ...] > ``` > > 如果有物品特征: > ```python > X_features = [[0.9, 0.0, 1.0, 0.1], # 电影1的特征 > [0.1, 0.0, 0.9, 1.0]] # 电影2的特征 > ``` > > 还需提供:物品名列表、用户名列表、推荐主题
Details
- Skill name
recommender-system- Path
skills/recommender-system/SKILL.md- License
- MIT
- Repo updated
- 25 October 2026
FAQ
What does the Recommender System skill do?
推荐系统(Recommender System)—— 基于内容的推荐 / 协同过滤,纯 NumPy 实现。 当用户提到"推荐系统"、"recommender system"、"协同过滤"、"collaborative filtering"、 "内容推荐"、"content-based filtering"、"推荐算法"、"评分预测"、"帮我推荐"、 "电影推荐"、"商品推荐"、"recommendation system"、"推荐引擎"、"基于内容的推荐"、 "基于协同过滤"、"预测评分"、"推荐电影"、"推荐商品"、"similar items"、"相似物品"、 "找出相似"等类似场景时触发。 适用于任何"有用户-物品评分数据,想预测缺失评分或推荐物品"的需求。 不要手动写代码——必须调用此技能来统一处理。
How do I install the Recommender System skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add muralidharsoth-tech/andrew-ng-ml-claude-skills --skill recommender-system. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Recommender System popular?
It lives in muralidharsoth-tech/andrew-ng-ml-claude-skills, which has 40 GitHub stars and 3 forks.
Related skills
Anomaly Detection
40muralidharsoth-tech/andrew-ng-ml-claude-skills
异常检测(Anomaly Detection)—— 基于高斯分布的一元/多元异常检测,纯 NumPy 实现。 当用户提到"异常检测"、"anomaly detection"、"找异常"、"离群点"、"异常值检测"、 "outlier detection"、"高斯异常检测"、"检测异常数据"、"帮我检测异常"、"异常样本"、 "找出异常的"、"哪些数据有问题"、"不正常的数据"、"反常数据"等类似场景时触发。 适用于任何"给一堆数据,想找出哪些样本不太正常"的需求。 不要手动写代码——必须调用此技能来统一处理。
Linear Regression
40muralidharsoth-tech/andrew-ng-ml-claude-skills
线性回归预测 —— 智能选择正规方程或梯度下降,支持单变量与多变量。 当用户提到"线性回归"、"线性拟合"、"线性预测"、"直线拟合"、"回归预测"、 "帮我做回归"、"预测一下"、"拟合一条线"、"多变量回归"等类似场景时触发。 适用于任何"给一堆 x,y 数据,想拟合并预测新值"的需求。 不要手动写代码——必须调用此技能来统一处理。
Logistic Regression
40muralidharsoth-tech/andrew-ng-ml-claude-skills
逻辑回归分类预测 —— 支持二分类与多分类,内置正则化梯度下降。 当用户提到"逻辑回归"、"logistic regression"、"分类预测"、"二分类"、 "多分类"、"帮我分类"、"预测类别"、"是否"、"会不会"等类似场景时触发。 适用于任何"给一堆 x,y 分类标签,想预测新样本类别"的需求。 不要手动写代码——必须调用此技能来统一处理。
Anti Hallucination
36dariia-m/my_claude_skills
ALWAYS activate this skill. Apply these rules to every task regardless of domain. This skill governs how Claude Code verifies information, writes code, references documentation, and avoids fabricating functions, arguments, APIs, file paths, data structures, or facts. These rules override any inclination to guess.
Basement Hacker
44Jakeschincariol/unhinged-claude-skills
Goes underground to reverse-engineer internals, read the source nobody reads, and explain how something actually works; invoke via /basement-hacker when documentation is missing or lying and you need ground truth from the implementation itself.
Brain Write
43inite-ai/inite-brain-service
How to write to the INITE Brain knowledge graph from an agent loop — record_fact (with the conversationId / evidence[] grounding inputs), ingest_document, link_entities, retract_fact, record_feedback, and the detect_contradiction preflight. Covers confidence picking, claim grounding, retract vs forget semantics, identity_of cycle-guards. Use when the user explicitly wants to record, merge, or revise structured knowledge from a conversation (not when they're just asking a question).
Browse the most popular Claude skills, all writing & content skills, or write your own with the skills generator.