인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
개발 및 엔지니어링 · SKILL.md

softmax_confidence_scoring

softmax_confidence_scoring

Compute maximum softmax probability detector scores from logits or probabilities for misclassification and OOD detection.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: softmax_confidence_scoring description: Compute maximum softmax probability detector scores from logits or probabilities for misclassification and OOD detection.

Maximum Softmax Probability Scoring

Use this skill when a recovery or evaluation task needs the Hendrycks-Gimpel baseline score: the predicted class probability from a classifier softmax distribution. Do not use it as a calibration method or as evidence that a probability equals true confidence.

Inputs

  • A JSON list of numeric vectors, either logits or already-normalized probability vectors.
  • Optional mode: logits, probabilities, or auto.

Outputs

  • One record per example with predicted_class and msp.
  • Optional aggregate summary with mean MSP.

Workflow

  1. Validate that every row is non-empty and finite.
  2. Convert logits with a max-subtracted stable softmax.
  3. In auto mode, accept rows as probabilities only when non-negative and summing to one within tolerance.
  4. Return the argmax class and its probability.
  5. Pass these MSP values to a detection metric skill rather than thresholding by hand unless a threshold is explicitly requested.

Validation

Run python tests/test_msp.py or validate the full skill tree with validate_skill_tree.py --run-tests.

Limitations

This skill does not train classifiers, load image datasets, or estimate calibrated uncertainty. It only implements the paper baseline scoring primitive.

저장한 Skills