Classification: predicting a category
Understand classification through labeled fruit pictures, new inputs, and a category recognition activity.
AI
Notes and how-tos on building with LLMs — prompting, agents, retrieval, and evaluation. Written to help other engineers ship AI features that hold up in production.

46 articles
Understand classification through labeled fruit pictures, new inputs, and a category recognition activity.
Understand regression through known sale prices, a new home, and a simple price-gap experiment.
Understand model, learning, and prediction through completed deliveries, a playable example, and a numbered chapter infographic.
Follow the pointer. Then check the passage.
Review a fictional answer at Sachin. Follow its citations, repair missing support, and inspect how citation recall and precision are calculated. An illustrated review desk and a runnable JavaScript example connect the story to the mechanism.
Follow one request from the badge desk to the response.
Run a local permission-aware answer service. Test forged group claims, tenant isolation, revoked access, stale caches, and source requests.
The envelope matters as much as the letter.
Inspect four places information can escape an otherwise filtered answer: citations, previews, shared answers, and diagnostics.
Yesterday’s stamp cannot prove today’s permission.
Step through a permission change at the source, a stale index, and an old cached answer. Learn where current checks belong.
Five requested does not always mean five returned.
Move a retrieval cutoff and see why removing denied results can leave a short answer packet. Measure recall against an allowed baseline.
A photocopy does not acquire new readers.
Follow a restricted folder through the copy room. Preserve its permissions on every chunk and reject missing labels.
A great match is not a permission slip.
Predict how an employee’s identity changes a RAG answer, inspect the permission decision, and run the same policy yourself.