use case · basics · EfficientNet-B2 · 525 species · WASM fp32 · ~34 MB

Top-K Probability, Margin & Species Confidence Inspector

Every forward pass of dennisjooo/Birds-Classifier-EfficientNetB2 outputs a softmax distribution across 525 bird species. Inspect the cached top-10 distribution live — tune Top-K (3–10) and the confidence floor without re-running inference — and see how top-1 vs top-2 margin and Shannon entropy distinguish a clear ID from a close lookalike or an out-of-domain photo.

1 · On-device classifier

Prepare the EfficientNet-B2 model above to inspect live 525-species probabilities.

2 · Choose a bird photo (or non-bird control)

Top 5
10%
Active bird photograph being inspected
American Flamingo · 1024×680 · Wilfredor (CC0 1.0)

Ready to classify

Not run

Initialise the model above to compute real 525-species probabilities, margin, and Shannon entropy.

Top-1 Prob–
Margin vs #2–
Entropy (H)–
Eff. Species–
Above Floor–
Backend · Time–

Under the hood — inspect the real worker & calibration code

Every snippet below is hydrated lazily from the live source files running on this page.

Show the code · Coalesced EfficientNet-B2 worker loader
Show the code · Off-main-thread Top-K species inference
Show the code · Top-1/Top-2 margin & Shannon entropy calibration
Show the code · Ambiguity verdict (Confident ID vs Close Lookalike vs Uncertain)