Beyond Market Intelligence/towards data science

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.

From Agent to Interface: Building a Production-Ready UI for LangGraph
Towards Data Science

From Agent to Interface: Building a Production-Ready UI for LangGraph

Building a production-ready interface for a stateful LangGraph agent sounds like a step toward making AI tools genuinely practical. Creating a Streamlit UI matters because a powerful agent is only useful if people can actually interact with it. The focus here is on accessibility, turning complex backend logic into something approachable. It is a reminder that thoughtful design carries equal weight to the technology underneath.

Exploring the design logic behind the Transformer architecture
Towards Data Science

Exploring the design logic behind the Transformer architecture

Most explainers hand you the finished Transformer and move on. We wanted to know why it looks the way it does. This piece steps back from Q, K, and V to ask the question that actually matters: what problem was the architecture solving in the first place? It is a thoughtful, grounded reconstruction that rewards curiosity. If you are ready to go deeper, our guide to distributed algorithms pairs well with this foundational view.

From Static Charts to Interactive Discovery with AI-Driven Tools
Towards Data Science

From Static Charts to Interactive Discovery with AI-Driven Tools

Choosing between Matplotlib and Plotly often comes down to a single question: do you need a static image or a living document? This guide walks that decision without overselling either tool, which is refreshing. It respects that your choice depends on the task at hand, not hype. If you are curious about how structured thinking applies to other technical domains, our piece on paragraph structure and token space offers a thoughtful parallel worth exploring. For now, this guide gives you a clear, practical path forward.

Stop optimizing speed and start reducing mental load in data work
Towards Data Science

Stop optimizing speed and start reducing mental load in data work

Faster dataframe engines are a welcome upgrade, but they sidestep a deeper issue. The real bottleneck isn't speed; it's the sheer volume of syntax an analyst must hold in their head. pandas demands constant mental juggling, and no performance boost lightens that load. We should be designing tools that reduce cognitive friction, not just processing time. For a broader look at how we think about technical trade-offs, our piece on the Forrester function offers a useful parallel.

When Every Passage Holds the Answer, RAG Needs a New Shape
Towards Data Science

When Every Passage Holds the Answer, RAG Needs a New Shape

Most RAG pipelines retrieve a single top passage and call it a day. But some questions don't work that way. Listing questions demand every relevant passage, not just the highest-scoring one. This pipeline walks through that silent failure point and the pipeline shape that actually handles it. It's a practical look at a real limitation, and the reasoning is clear. For readers who want to go deeper, "Exploring Paragraph Structure: How LLMs Navigate Token Space" offers a useful follow-up on how token coordinates shape retrieval.

Empower Business Users to Explore Data Without Writing SQL
Towards Data Science

Empower Business Users to Explore Data Without Writing SQL

Most business questions don't need a SQL query, they need a direct answer. This step-by-step guide shows how to build an AI data agent that lets users explore data conversationally, skipping the syntax entirely. It's a practical, human-centered approach to analytics that puts the focus on insight, not commands. If you're curious about the broader implications of talking to AI, "Talking to My AI Clone Taught Me to Question the Tech" offers a thoughtful counterpoint.

When Travel Distracts from Machine Learning Insights
Towards Data Science

When Travel Distracts from Machine Learning Insights

Conference travel has a way of looking valuable from the outside and feeling costly from the inside. Last month's machine learning lessons centered on that friction: the sessions were useful, but the real takeaways often arrived in the gaps between talks. It's a familiar trade-off for anyone who's weighed networking against deep work. If you're questioning whether the in-person grind still serves your learning, this reflection offers a practical counterweight.

When your document says "see Section 7.2," AI can now follow the link.
Towards Data Science

When your document says "see Section 7.2," AI can now follow the link.

A "see Section 7.2" answer is a dead end, not a destination. When a retrieval system points elsewhere instead of answering directly, the pipeline breaks trust. This piece tackles that exact failure with a loop-based fix: fetch the linked context, then return the real answer. It's a practical, human-centered solution for a frustrating problem. We appreciate the focus on user outcomes over technical spectacle. For more on how LLMs handle structure, explore *Exploring Paragraph Structure: How LLMs Navigate Token Space*.

Spotting AI Text: Simple Cues and the Math Behind Them
Towards Data Science

Spotting AI Text: Simple Cues and the Math Behind Them

You don't need a model to spot AI-generated text. Research-backed cues reveal LLM output, and the mathematical intuition behind *why* those signals hold up is also explained. That's the kind of practical clarity that empowers you to trust what you read. It's not about paranoia, it's about precision. For more on how AI shapes content creation, explore the related discussion on transforming open LLMs into classifiers.

The 47‑Page Blueprint That Reveals What a Frontier Model Really Takes
Towards Data Science

The 47‑Page Blueprint That Reveals What a Frontier Model Really Takes

Kimi K3 doesn't hide behind hype. Its 2.8-trillion-parameter model shipped with 47 pages of open recipe, and reading them reveals a truth we don't often say aloud: most of building a frontier model isn't the model. It's the data, the compute orchestration, the judgment calls. That transparency feels almost radical. For anyone curious how far the field has come, this report is a grounded, human-scale entry point.

Recover a PDF's hidden outline with typography and deterministic loops.
Towards Data Science

Recover a PDF's hidden outline with typography and deterministic loops.

A PDF's outline is often hidden in plain sight, buried in the typography of its body text. Six deterministic signals on span-level formatting can surface heading candidates, with one bounded loop validating the real ones. It is a practical, grounded approach to document structure, and it earns its place in the RAG pipeline. For readers exploring how LLMs handle paragraph structure, our related guide on token space offers a useful complement.

Unlocking Data Potential by Combining Labelled and Unlabelled Insights
Towards Data Science

Unlocking Data Potential by Combining Labelled and Unlabelled Insights

Most of your data sits unlabeled, and that's not a problem to solve, it's an opportunity to leverage. Semi-supervised learning sits between the fully labeled and the entirely unlabeled, using a small amount of guidance to make sense of the larger, messier whole. This primer walks through the algorithms that make that possible and, just as importantly, where they stumble. It's a practical read for anyone who wants to get more from their data without drowning in annotation costs.

Explore how medallion architecture simplifies your data pipeline with Python and DuckDB
Towards Data Science

Explore how medallion architecture simplifies your data pipeline with Python and DuckDB

Most teams hit the same wall: raw data lands in one place, and chaos follows. The Medallion Architecture cuts through that with a clear Bronze, Silver, and Gold path, turning mess into structure. This guide pairs that framework with a working Python and DuckDB example, so you can see it run, not just read about it. For more on how LLMs navigate token space, check out our piece on paragraph structure.

Three Layers That Define Every RAG System You Build
Towards Data Science

Three Layers That Define Every RAG System You Build

Every RAG system stands on three engineering layers, each stacked on a single LLM call: the prompt that makes the call, the context that fills the model's window, and the loop that decides when the next call fires and when it stops. Knowing which layer you are on is half the battle in building and debugging. This breakdown keeps things practical and grounded. For deeper exploration of where AI understanding gets murky, our piece on verifying your AI's understanding offers a timely companion.

Beyond the Model: The Human Work That Powers Supply Chain AI
Towards Data Science

Beyond the Model: The Human Work That Powers Supply Chain AI

The engine stalled mid-route, and the spreadsheet that should have flagged the issue sat silent. That moment reveals the real work of a Forward-Deployed Engineer: not building the model, but untangling the messy, human systems around it. In one supply chain project, the AI was the easy part; the hard part was embedding it where decisions actually happen.

Build a free local CLI agent with Python and Ollama from scratch
Towards Data Science

Build a free local CLI agent with Python and Ollama from scratch

Building a CLI agent from scratch sounds like a focused challenge, and this guide takes you through it using Python and Ollama without spending a dime. It's a practical, hands-on approach for anyone tired of clicking through menus when a command line could do the work faster. The steps are clear enough to follow, yet they leave room for your own tinkering.

Build a stateful support agent to transform a 15-minute booking into seconds.
Towards Data Science

Build a stateful support agent to transform a 15-minute booking into seconds.

Fifteen minutes to book an appointment is fifteen minutes too many when you know the process can be automated. This guide walks through building a stateful customer support agent with Python, LangGraph, and Langfuse, showing exactly how to replace a tedious workflow with something that actually works. It's a practical, hands-on look at what AI-native tooling can do for everyday tasks. For more on the human side of these systems, check out "Talking to My AI Clone Taught Me to Question the Tech."

When Multi-Agent Architecture Tripled Our LLM Costs and What Fixed It
Towards Data Science

When Multi-Agent Architecture Tripled Our LLM Costs and What Fixed It

A seemingly small shift to multi-agent architecture quietly tripled the token bill, and the author felt it in the ledger before the dashboard caught up. It's a sharp reminder that progress often hides its price tag. The fix wasn't a bigger budget but a smarter orchestration of prompts. If you're exploring AI's subtle costs, you might also appreciate "Talking to My AI Clone Taught Me to Question the Tech," which tackles hidden trade-offs from a different angle.

Explore a Concrete 3D Path Through the Jacobian Conjecture
Towards Data Science

Explore a Concrete 3D Path Through the Jacobian Conjecture

The Jacobian Conjecture sounds abstract, but this piece grounds it in something we can actually see. The author takes a dense mathematical statement and reframes it through a concrete 3D function, using geometry and algebra to make the counterexample click. It's a smart, approachable way to engage with a complex idea. If you enjoy this kind of clarity, you might also appreciate our look at the Forrester function as a machine learning tool. Both offer fresh angles on mathematical thinking.

Streamline Your Coding Agent Workflow for Smarter Task Management
Towards Data Science

Streamline Your Coding Agent Workflow for Smarter Task Management

If you're juggling multiple coding agents, the chaos of scattered tasks can quickly become its own project. This guide cuts through the noise, offering a practical way to organize every request and keep your workflow moving. It's a straightforward approach for anyone tired of losing track of what each agent should be doing. For more on how AI handles structured work, our related piece on paragraph structure is worth a look.

From Physics to Prompts: Understanding Temperature in AI Models
Towards Data Science

From Physics to Prompts: Understanding Temperature in AI Models

The temperature parameter in large language models often reads as a dial for creativity, but its roots run deeper into statistical physics. It's the bridge between deterministic predictions and the generative spark that makes AI feel alive. We find this framing refreshingly clear, cutting through the usual jargon to show how a simple adjustment reshapes output. For more hands-on applications of AI's practical edge, our piece on Meta's AI turning a dull task into $5,350 in yearly savings is worth exploring alongside.

How an open ecosystem made advanced AI more accessible
Towards Data Science

How an open ecosystem made advanced AI more accessible

A single open-source ecosystem quietly became the backbone of modern AI, turning what once felt like a specialist's game into something any curious developer can explore. It's not about hype; it's about access. This post breaks down how that Python foundation made state-of-the-art tools feel approachable, and why that shift matters for how we build. If you're weighing what this means for your own workflow, you might also appreciate "Talking to My AI Clone Taught Me to Question the Tech," which offers a grounded counterpoint.

From Scattered Knowledge to an AI-Ready Company Brain
Towards Data Science

From Scattered Knowledge to an AI-Ready Company Brain

Building a context layer sounds straightforward until you try to move beyond a demo. This piece cuts through the hype to show what it actually takes to turn scattered company knowledge into something an LLM can reliably use. The polished demo is only about five percent of the real work. The rest is messy, unglamorous, and essential. If you are weighing whether your team is ready for this, it is a sobering and useful read.

Why Prediction Alone Fails to Uncover True Causal Effects
Towards Data Science

Why Prediction Alone Fails to Uncover True Causal Effects

A model that predicts an outcome with high accuracy can still mislead you on treatment effects. That is the uncomfortable truth this piece tackles. The issue is variable selection: predictive models chase correlation, not causation, so they often drop confounders that matter for estimating impact. Bayesian Adjustment for Confounding offers a more principled path forward. It is a technical fix, but the lesson is practical. If your data strategy is off, even the smartest model will lead you astray.