pytorch_influence_functions: Reveal Why Models Predict
From the repo · “This is a PyTorch reimplementation of Influence Functions from the ICML2017 best paper: Understanding Black-box Predictions via Influence Functions by Pang Wei Koh and Percy Liang.”
Pytorch_influence_functions helps startup founders understand and analyze the predictions made by their deep learning models by identifying the most influential training data points
- •When you need to debug and understand why your model is making certain predictions
- •When you want to identify biases in your training data and their impact on model predictions
- •When you need to explain model decisions to stakeholders or customers
python examples/influence_functions_example.py --dataset cifar10 --model resnet18 --num_samples 100
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Installs with a command or two; your AI agent can do it for you.
mkdir -p ~/.claude/skills/pytorch-influence-functions && curl -fsSL https://workflowstacks.com/api/skills/pytorch-influence-functions/claude-skill -o ~/.claude/skills/pytorch-influence-functions/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Pytorch_influence_functions: Reveal Why Models Predict is a small Python project (~1k lines across 7 code files). Setup is light: installs like a normal app. Reading the code is optional. Last commit 36 months ago, Other license, has a test suite.
- 1README.mdStart here — what it does and how to install it
- 2pytorch_influence_functions/__init__.pyInside pytorch_influence_functions/ — the main logic begins here
- 3examples/test_influence_functions.pyA worked example — copy this to get going
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Installs with a command or two; your AI agent can do it for you.
mkdir -p ~/.claude/skills/pytorch-influence-functions && curl -fsSL https://workflowstacks.com/api/skills/pytorch-influence-functions/claude-skill -o ~/.claude/skills/pytorch-influence-functions/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Are you the creator of this tool? and earn 85% of every sale.
Show it off in your README:
[](https://workflowstacks.com/skills/pytorch-influence-functions?utm_source=github&utm_medium=badge)The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.
Related skills
More ai-agent tools founders pair with this one.