scikit-learn 1.9 adds metric_at_thresholds: sweep every classification threshold in one call
pandeyparul · x · 2026-09-18
scikit-learn 1.9 introduces metricatthresholds, which computes a binary classification metric at every threshold where predictions can change, returning both metric values and thresholds for easy plotting. The author previously looped over probability cutoffs manually; the new built-in API makes threshold selection based on use-case priorities straightforward.
More from coding & agent
- AI agents can take your calls, but what if they called you to discuss decisions? — RichardsonDx · 2026-09-18
- Hugging Face dev runs 5 Claude threads on top and Codex threads below, in parallel — NielsRogge · 2026-09-18
- Plane launches Plane Agents, resets September usage limits for all plans — JosephJacks_ · 2026-09-18
- 'English is the new coding language, code is assembly' — a one-liner coding take — 0xsachi · 2026-09-18
- Reddit's AI agent "aha moments": reflashing hardware, custom bridges, auto family videos — j4ck0ff · 2026-09-18
- WebMCP Benchmark: Jev + Mercury 2.5 Solves 100% of Tasks at 245x Lower Cost Than Computer Use — hackgoofer · 2026-09-18