tuning-classification-threshold
CommunityChoose the right classification threshold
Data & Analytics#calibration#fraud detection#binary classification#threshold selection#cost-sensitive#roc curve
Authorrocklambros
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you choose the right operating threshold for a binary classifier when the default 0.5 cutoff is not defensible, especially in cost-sensitive or constraint-driven deployments.
Core Features & Use Cases
- Threshold Selection: Picks a cutoff using F-beta, fixed false-positive-rate budgets, fixed recall floors, Youden's J, or explicit cost-weighted loss.
- Deployment Guardrails: Requires selection on validation data and final reporting on held-out test data to avoid optimistic bias.
- Practical Scenarios: Useful for fraud detection, security alerting, medical screening, content moderation, and churn intervention where false negatives and false positives have unequal cost.
Quick Start
Ask for the best deployment threshold for your binary classifier using separate validation and test slices, and specify the recall, precision, false-positive, or cost constraint you need.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: tuning-classification-threshold Download link: https://github.com/rocklambros/rcs/archive/main.zip#tuning-classification-threshold Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.