Skip to content
Back to skills

Surprise

ASecurity

"Use Surprise for explicit-feedback recommender workflows: load

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
testingpythongo

Works with

  • cli

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 20 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill surprise --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Surprise?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Surprise
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-surprise/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-surprise)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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`](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

- Load, inspect, validate, or split rating data: [`sub-skills/data-loading/`](sub-skills/data-loading/SKILL.md)
- Choose and configure predictors, fit/test/predict, inspect baseline or similarity options, retrieve neighbors, or build a custom `AlgoBase`: [`sub-skills/prediction-algorithms/`](sub-skills/prediction-algorithms/SKILL.md)
- Score predictions, split data, cross-validate, tune hyperparameters, inspect `cv_results`, or use the CLI: [`sub-skills/evaluation-and-search/`](sub-skills/evaluation-and-search/SKILL.md)
- Build top-N recommendations, precision/recall@k summaries, or dump/load roundtrips: [`sub-skills/recommendation-and-analysis/`](sub-skills/recommendation-and-analysis/SKILL.md)

## Shared References

- Read [`references/overview.md`](references/overview.md) for the package/module map and common data flow.
- Read [`references/troubleshooting.md`](references/troubleshooting.md) for install, data, id, evaluation, search, CLI, and serialization pitfalls.
- Read [`references/repo-provenance.md`](references/repo-provenance.md) before deciding whether this skill still matches the current checkout.

## Boundaries

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

Files in this skill

  • SKILL.md2.3 KB
  • references/overview.md3.1 KB
  • references/repo-provenance.md2.7 KB
  • references/repo-routing-metadata.json319 B
  • references/troubleshooting.md4.2 KB
  • scripts/check_surprise_environment.py5.5 KB
  • sub-skills/data-loading/SKILL.md3.7 KB
  • sub-skills/data-loading/references/data-loading.md8.7 KB
  • sub-skills/data-loading/references/troubleshooting.md4.6 KB
  • sub-skills/data-loading/scripts/load_custom_file_smoke.py2.3 KB
  • sub-skills/data-loading/scripts/load_from_dataframe_smoke.py2.2 KB
  • sub-skills/data-loading/scripts/load_predefined_folds_smoke.py2 KB
  • sub-skills/evaluation-and-search/SKILL.md4.5 KB
  • sub-skills/evaluation-and-search/references/cli-reference.md4.7 KB
  • sub-skills/evaluation-and-search/references/evaluation.md13.3 KB
  • sub-skills/evaluation-and-search/references/troubleshooting.md6.6 KB
  • sub-skills/evaluation-and-search/scripts/cli_eval_smoke.py2.5 KB
  • sub-skills/evaluation-and-search/scripts/cross_validate_smoke.py2.1 KB
  • sub-skills/evaluation-and-search/scripts/cv_iterators_smoke.py3.4 KB
  • sub-skills/evaluation-and-search/scripts/grid_search_smoke.py2.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.