towards data science
The data science world moves fast, and this section tracks the signals that matter. You will find hands-on Python case studies, from A/B testing on Cookie Cats data to mapping a decade of USGS earthquakes, alongside rigorous model comparisons like DuckDB 2.0 versus Polars 2.0 on 335 million records. AI agents appear constantly: how to govern their skills with plugins, build MCP servers that leave orchestration to the host, or limit damage with five guardrails tested in 0.68 seconds. The limits of LLMs surface too, whether they are small models betting 82% on an 11th coin flip or RAG systems that ace textbook questions but score zero on fresh research. Expect practical frameworks, retry logic for multi-agent workflows, business translations for analytics engineering, and confidence scores that let AI handle 72.8% of queries at 98% accuracy. This is where theory meets production, and the evidence is always in the code.
Three Small AI Models Falter When Told Their Answers Are Wrong
A simple "that's wrong" does more damage to small AI models than you might expect. In a recent test, three open models faced 150 MMLU questions each with five styles of pushback. Naming a wrong option was nearly fatal for their answers. Qwen2.5-1.5B flipped its correct responses two out of three times when challenged with "are you sure?" This fragility raises real questions about how we trust these systems. For deeper context, see our piece on matching data retrieval to AI coding tasks.
Running local LLMs from Python with Apple's fm CLI
Running local LLMs from Python with Apple's fm CLI is a clever experiment, but a Sate Padang vision test and a Malaysia capital question reveal why free, private models still need grounding before they leave prototyping. The promise of on-device inference is real; the accuracy is not yet trustworthy without validation. For more on why agentic projects often stumble before they scale, see our related piece on why most fail before they start.
Train a flexible decision model that adapts to new labels without retraining
A Jev-style decision model trained on six PathMNIST tissues with a small KEEP adapter learned to handle new labels without retraining, while a linear classifier managed 88% on familiar ones. This is the kind of flexible architecture that makes you rethink what a spreadsheet model can do. If you enjoyed exploring how simpler tools match advanced AI on intent classification, our related piece on that topic offers a natural next step.
When Simpler Tools Match Advanced AI on Intent Classification
Jev's approach to intent classification is refreshingly practical: no training required, and at most three examples per intent. Yet in a direct comparison on BANKING77, scikit-learn matched or beat Jev's calibration. Both methods still stumble into the none-of-the-above trap, a reminder that simpler tools paired with advanced AI aren't immune to classic classification challenges. For teams building smarter pipelines, the companion piece on Scikit-LLM offers a natural next step toward multilingual text workflows.
A Simple Session Start Lifts Claude Code Skill Accuracy from 15% to 62%
A simple session-start hook, just one clear sentence at the beginning of a session, lifted Claude Code's skill-firing accuracy from 15% to 62%. A software tester ran six skills across Haiku, Sonnet, and Opus. Pushy descriptions added only five points. Near-miss requests never triggered a skill at all. That's a remarkable jump from a minimal change. It suggests we've been overcomplicating how we prompt AI. For more on intent classification, see our coverage of "When Simpler Tools Match Advanced AI on Intent Classification."
Validate LLM Output in DuckDB and dbt With Python and Gemini Guardrails
Eighteen RemoteOK postings had their skills, seniority, and Nigeria eligibility pulled by a Gemini Flash-Lite step, but the real guardrails came from Python checks and dbt tests validating every answer. This is a practical pipeline for trusting LLM output inside DuckDB and dbt. If you want to see how a simple session start lifted Claude Code skill accuracy from 15% to 62%, that related article offers a revealing comparison. Here, the focus stays on building checks that catch what the model might miss.
Copilot caught every diff bug but missed two hidden outside the code change
Copilot caught every diff bug but missed two hiding outside the code change. A guard on negative enrollment days looked correct, yet the function it called overbilled a customer by 11 days. An invariant test would have caught it. This isn't about dismissing AI, it's about knowing where human oversight still matters. For a deeper look at how AI can polish your ideas without dreaming them up, see our piece on letting AI refine rather than generate.
Let AI Polish Your Ideas, Not Dream Them Up
A 486-person study says one thing; an 800-person experiment says another. The real insight? Let AI polish your ideas, not dream them up. Short stories, metaphors, and two conflicting data sets point to the same conclusion: the human spark still matters most. For a deeper look at how AI reshapes creative workflows, explore how Medium's new app brings AI directly into the writing process.
A 19th-century fisheries trick estimates AI recall within 2 points
A 19th-century fisheries trick just proved it can estimate AI recall within two points. Testing on 294 CUAD contracts with a 10% hand audit, the capture-recapture method landed remarkably close to true recall for most agents. That's an elegant solution to a modern problem, no hype, just a clever statistical tool from the 1890s doing the job. For more on how AI can refine your thinking, see our related piece on letting AI polish ideas, not dream them up.
How smarter batching in vLLM delivers up to 2.91× faster inference
Two point nine one times faster inference isn't a marketing number, it's a measured result from vLLM's smarter batching. The analysis isolates gains by splitting engine performance from scheduler behavior, tested against five real traffic traces with zero variance control. Static and dynamic batching fall behind. For anyone running an inference server, this is where the tangible speed lives. If you're wrestling with throughput bottlenecks, our piece on navigating peer review for classical ML research offers a different kind of rigor worth exploring.
Quantile Regression Reveals a Home Value Ordinary Models Miss by $55K
A single OLS regression predicted a $164,000 sale price for a home that actually sold for $219,000. That is a $55,000 miss. Quantile regression, by modeling the 5th and 90th percentiles, produced a far more honest range of $136,000 to $227,000. Ordinary models can be dangerously overconfident. This is why we explore methods that reveal uncertainty instead of hiding it. For a deeper look at how models can mislead, see our coverage of LLMs and the Monty Hall problem.
When LLMs Follow a Flawed Monty Hall Rule, Switching Fails 33% of the Time
Even after being given the correct rule, that the host now picks a door at random, five leading LLMs still switched when they shouldn't have, landing near 33% accuracy. It is a striking failure of reasoning, not computation. The models can quote the logic and then ignore it. This suggests the flaw runs deeper than a missing step. For a look at how multi-agent designs handle similar reasoning challenges, explore our guide on building EV purchase and support tools.
Explore multi-agent AI design by building EV purchase and support tools
Multi-agent AI design doesn't have to be abstract. Build an EV purchase adviser and a support agent in Python, then watch how fan-out, pipelines, hierarchies, and swarms reuse the same building blocks. It's a practical way to explore how these systems scale. For deeper context on tracking such investments, our piece on "12 KPIs to Track AI Adoption, Cost, and Performance in Your Organization" offers a grounded framework. Start building, and discover how these patterns transform what's possible.
Four Time-Series Models Share a Core Architecture, Diverge on Data Sharing
Four time‑series foundation models, Timestral, t0, Tabby, and Morpheus‑2.0, share a core architecture: they all scale, patch, and predict quantiles. The real difference is how each model lets series share information. That design choice matters more than the common foundation. We prefer Tabby's approach for its balance of independence and shared context. For teams tracking adoption costs, our article "12 KPIs to Track AI Adoption, Cost, and Performance in Your Organization" offers practical baselines and ownership rules.
12 KPIs to Track AI Adoption, Cost, and Performance in Your Organization
Twelve KPIs can make or break how you track AI adoption, cost, and performance. The worked example, 50 users with a $110,000 first-year cost, grounds every metric in reality, from baselines to ownership rules. That clarity matters because vague measurements create vague results. For deeper coverage of how AI agents can actually retain context, see our related piece on building persistent memory with a single JSON file. Measure first, improve second.
Design an AI Agent That Picks Its Own Tools and Knows When to Stop
Eight turns. That's the circuit-breaker in this design: an AI agent that picks its own database tools, uses each result to inform its next call, and knows when to stop. It's a practical approach to building autonomous systems that don't spin forever. For those exploring similar patterns, our guide on 12 KPIs to Track AI Adoption, Cost, and Performance offers concrete metrics for measuring what these agents actually deliver. This is controlled agency, intentional, measurable, and refreshingly grounded.
Simplify Python environment setup by swapping venv and pip for uv
Managing Python environments doesn't have to mean juggling venv and pip. This walkthrough shows you how uv handles everything, `uv init`, `uv add`, `uv run`, and `uv sync`, with a lockfile that exactly reproduces your project on another machine. It's a simpler, faster setup that respects your time. For teams tracking adoption costs, the companion article "12 KPIs to Track AI Adoption, Cost, and Performance in Your Organization" offers a practical framework worth exploring.
Build Persistent Memory for Your AI Agent with a Single JSON File
A single JSON file can now give your Python AI agent memory that survives a restart. Three Python classes, an OpenRouter key, and gpt-4.1-mini equip the agent with a calculator, a stub web search, and full conversation recall. This is a practical step toward agents that actually remember context between sessions. If you're building autonomous tools, this approach removes a major friction point. For deeper context on keeping agents both capable and secure, see our coverage of Edera's Object Capability Bounded Authority model.
Training One AI Model to Detect Multiple Gas Leaks Without Retuning
One model, trained on methane, now maps carbon monoxide, ammonia, and nitrogen dioxide plumes from space without retuning. That includes the first automated carbon monoxide detections from NASA's EMIT instrument. We built a zero-shot gas-leak detector that generalizes across compounds. It's a practical step toward monitoring multiple hazards with a single system, no reengineering required. For a deeper look at how one model serves many tasks, see our related work on configuration-driven reporting.
The Internet Is Being Redesigned for an AI-First Era
The internet is being rebuilt from the ground up for an AI-first era, and businesses are already making the move. Traditional web architectures weren't designed for autonomous agents that need structured, machine-readable data. Tools like GEO, WebMCP, and bot paywalls represent the emerging infrastructure of this transition. It's a fundamental shift, not just an upgrade.
When a Tiny GPT Knows the Facts but Misses the Connection
A tiny GPT can memorize every fact you hand it and still fail when the answer requires connecting two of them. That gap is fascinating, and frustrating. I tested the one-line fix from a recent paper, and it only half worked. The problem isn't recall; it's reasoning across what's already known. If you're exploring how small models actually think, this is a worthwhile stop. For a deeper look at structured decision-making, our piece on decision models pairs nicely with this one.
Tell your voice assistant what's next with a decision model
Tell your voice assistant what comes next, not by guessing, but by design. A decision model tracks what's already confirmed and intelligently picks the next question to ask. GPT-Live does the talking, turning chaotic back-and-forth into a guided conversation. This isn't about replacing spreadsheets; it's about making them think with you. If you're curious how structured logic can reshape data workflows, you might also enjoy our look at how coherent quantum models advance time-series prediction.
How 600,000 Newspaper Pages Reveal Suffrage's Shifting Narrative
Over 600,000 digitized newspaper pages let us track how the story of women's suffrage actually shifted between 1890 and 1920. That's a lot of headlines, editorials, and letters to the editor. The data reveals a narrative that evolved in real time, not always toward progress, but always toward a more public conversation. It's a powerful reminder that the fight for the vote was shaped as much by the press as by the polls.
Explore how coherent quantum models advance time-series prediction
Classical time-series models hit a wall when data complexity grows. CoQS-LSTM, a Coherent Quantum Long Short-Term Memory architecture, doesn't just tweak the old approach, it rethinks prediction at a fundamental level. By embedding quantum coherence directly into the LSTM structure, it captures patterns classical systems miss. This is practical innovation, not theory. For context on how rapidly the field is evolving, our piece on "60,000 submissions test ICLR's review system" explores what happens when demand for evaluating new ideas outstrips capacity.