Tag
ML coding
- Jul 1, 2026
Building a Minimal LLM Pipeline
This post builds a minimal LLM extraction pipeline from scratch using ICD code extraction as the running example. The pipeline includes data I/O, a thin LLM wrapper, prompt construction, JSON parsing, schema validation, retry logic, batch execution, and evaluation. The goal is to show the foundational utility layer that makes LLM applications testable, debuggable, provider-agnostic, and production-ready.
#LLM#ML coding#NLP#Applied AI - Jan 16, 2026
Building a Simple Invoice-processing Agent
This post walks through the implementation of a minimal invoice-processing agent. The agent parses an invoice, verifies it against a ledger, requests approval when needed, and writes the final entry only after validation. The core pattern is simple: state constrains actions, the planner proposes one, validation gates it, tools return observations, the reducer updates state, and the runtime decides whether to stop. Before adopting complex orchestration frameworks, build this loop first.
#AI Agent#Applied AI#System Design#ML coding - Sep 27, 2024
Text Similarity and Retrieval Basics
#Retrieval#ML coding#NLP - Jun 13, 2024
Essential Evaluation Metrics for Applied ML Systems
#ML coding#ML system#Experimentation - May 14, 2024
Essential Loss Functions for Machine Learning
#ML coding#ML - Apr 16, 2024
Statistical Tests by Data Type
#Statistics#A/B Testing#Experimentation#ML coding - Sep 18, 2023
K-Means Clustering
#ML coding#ML - Aug 9, 2023
Logistic Regression from Scratch
#ML coding#ML - Jul 16, 2023
Linear Regression from Scratch
#ML coding#ML