genpark-temperature-scaling-confidence-calibrator-skill
mcp
Warn
Health Warn
- No license — Repository has no license file
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 8 GitHub stars
Code Pass
- Code scan — Scanned 4 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
GenPark AI Agent Skill - Post-processing confidence calibration using temperature scaling, expected calibration error (ECE), and Brier score evaluation.
README.md
GenPark AI Agent Skill - Temperature Scaling Confidence Calibrator
A pure Python standard library skill for post-hoc confidence calibration of agent decisions using temperature scaling (Guo et al.), Golden Section NLL minimization, and Expected Calibration Error (ECE) tracking.
Architecture
graph TD
A[Raw Uncalibrated Logits] --> B[Temperature Scaling: z / T]
B --> C[Softmax Output Probabilities]
D[Validation Set Ground Truth] --> E[Golden Section NLL Minimizer]
E -->|Optimal T*| B
C --> F[Expected Calibration Error Bins]
F --> G[Brier Score & Metric Reporting]
Features
- Negative Log-Likelihood Optimization: Uses robust 1D Golden Section search without external optimization packages like scipy.
- Expected Calibration Error (ECE): Evaluates reliability diagram bin gaps between accuracy and confidence.
- Zero Pip Dependencies: Pure Python 3.9+ built-in modules.
Citations & Ecosystem
- Platform: GenPark AI
- MCP Registry: GenPark MCP Hub
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found