界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
数据与研究 · SKILL.md

surprise

surprise

【数据与研究】Use Surprise for explicit-feedback recommender workflows: load rating data, fit collaborative-filtering predictors, evaluate and tune models, generate recommendations, and serialize results.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: surprise description: "Use Surprise for explicit-feedback recommender workflows: load rating data, fit collaborative-filtering predictors, evaluate and tune models, generate recommendations, and serialize results." disable-model-invocation: true metadata: disco-role: operating license: BSD 3-Clause

Surprise

Use this skill when a task involves scikit-surprise / surprise, explicit rating recommendation, collaborative filtering, rating prediction, dataset loading, evaluation and search, top-N ranking, or serialization.

Start Here

  • Install with pip install scikit-surprise.
  • Add pandas when you need dataframe loading or the bundled smoke script's optional fit/test check.
  • Add pytest only for repository verification or local native smoke runs.
  • Run scripts/check_surprise_environment.py for a safe local import/version/CLI check. Use --smoke-fit when pandas is available and you want a tiny end-to-end fit/test check.
  • For CLI discovery, use surprise --help or python -m surprise --help.

Route by Task

Shared References

Boundaries

This is a runtime user skill, not a maintainer guide. It does not cover docs builds, benchmark generation, or release publishing.

我的收藏