JevMade hello@JevMade.com
← Back to guides

JevMade field notes / Taxonomy walkthrough

Classification using confidence

Classifies SEC annual reports into 75 industry groups, then uses the Choice confidence to decide whether to publish a specific group or its broader SIC division.

Original by TypeSafe AIClassificationTypeSafe cookbookSource reviewed

Before you dive in

What you’ll find in the original

  1. Build the group-to-division mapping in code.
  2. Ask for the fine-grained group once, then fall back to its parent on an uncertain answer.
  3. Evaluate whether broadening the label actually improves the accuracy you need.
Worth knowing

The fallback threshold is a policy choice, not a guarantee that the broader category is correct.