Towards Data Science
Publish AI, ML & data-science insights to a global community of data professionals.
- Website
- towardsdatascience.com · all feeds from this site
- Feed URL
https://towardsdatascience.com/feed
Read it in your FeedListing reader
Or add to: Feedly Inoreader Raw feed
Latest posts
-
A Practitioner's Guide to 6 Agentic GraphRAG Patterns
How autonomous agents turn static knowledge graphs into living Context Graphs that remember decisions, user intent, and operational history The post A Practitioner's Guide to 6 Agentic GraphRAG Patterns appeared first on Towards Data Science .
-
Computing Effective Dimension for Quantum ML Models in PyTorch
Local and global variants, Fisher estimation, epsilon-ball sampling, and log-space stability, with PennyLane code and a time-series experiment. The post Computing Effective Dimension for Quantum ML Models in PyTorch appeared first on Towards Data Science .
-
How to Build a Markov Chain in Python With NumPy
A step-by-step guide to transition matrices, the Chapman–Kolmogorov equation, and stationary distributions, built around a three-state writing example. The post How to Build a Markov Chain in Python With NumPy appeared first on Towards Data Science .
-
Data From 100+ AI Agents Shows They Fail by Silent Drift, Not Errors
Quality and token alerts were early signals for 38% of agents and errors for about 1%, so monitoring should start with quality, cost, and latency. The post Data From 100+ AI Agents Shows They Fail by Silent Drift, Not Errors appeared first on Towards Data Science .
-
Keyword Search Tied an 8B Embedding Model at Picking Agent Tools
On 200 ToolRet questions and up to 3,794 tools, BM25 ran about 40x faster than BGE-large on just a CPU, and full tool docs made it the best setup tested. The post Keyword Search Tied an 8B Embedding Model at Picking Agent Tools appeared first on Towards Data Science .
-
How Jev Makes Decisions About Images, With 4 Python Examples
Practical code for classifying fabric against reference photos, scoring product sharpness, cropping shipping labels, and spotting subtle car damage. The post How Jev Makes Decisions About Images, With 4 Python Examples appeared first on Towards Data Science .
-
What AI Agents Speed Up in PhD Research, and What They Can't
A PhD student in ML and ecology on why faster code, experiments, and drafts don't fix data with a backstory, and three predictions for how labs will change. The post What AI Agents Speed Up in PhD Research, and What They Can't appeared first on Towards Data Science .
-
How to Check Local LLM Output with Ollama, Gemma 4, and Nimble
Gemma 4 E2B drafts the replies, Bespoke Labs' Nimble 9B picks accept, revise, or human review, and only flagged questions get a focused retry. The post How to Check Local LLM Output with Ollama, Gemma 4, and Nimble appeared first on Towards Data Science .
-
RAG Retrieval Lost 40 Points When Distracting Passages Grew to 2.68M
A reproducible test of BM25, embeddings, and parent documents shows why author-written evals overrate search, and why answer position in context matters. The post RAG Retrieval Lost 40 Points When Distracting Passages Grew to 2.68M appeared first on Towards Data Science .
-
I Mutation-Tested 50 Python Libraries. Tests in the Young Ones Missed 41% of Planted Faults.
Across 2,312 planted faults the study also surfaced four real library problems, from a Windows data-loss bug to README examples that do not work as written. The post I Mutation-Tested 50 Python Libraries. Tests in the Young Ones Missed 41% of Planted Faults. appeared first on…
-
A Soft-Label MNIST Testbed for Human vs. Model Confidence
Annotators marked each MNIST and Mukhoti digit yes, no, or unsure, producing image-level soft labels and uncertainty scores. The post A Soft-Label MNIST Testbed for Human vs. Model Confidence appeared first on Towards Data Science .
-
How to Read Cross Pair Correlation in R Without Fake Repulsion (Part 3)
A simulated scar and data from 31 animals after ischemia show how an inhomogeneous estimator, random labelling, and brms separate tissue loss from real interaction. The post How to Read Cross Pair Correlation in R Without Fake Repulsion (Part 3) appeared first on Towards Data…
-
“Are You Sure?” Flipped Qwen2.5-1.5B’s Right Answer 2 Times in 3
Three small open models, 150 MMLU questions each, five pushback styles: “That’s wrong” did more damage, and naming a wrong option was close to fatal. The post “Are You Sure?” Flipped Qwen2.5-1.5B’s Right Answer 2 Times in 3 appeared first on Towards Data Science .
-
AI Assistant vs. Copilot vs. Agent, and When to Use Each
A palace-hotel wedding week shows where assistants, copilots, agents, and orchestration fit, and why Gartner expects 40%+ of agentic AI projects to be cancelled. The post AI Assistant vs. Copilot vs. Agent, and When to Use Each appeared first on Towards Data Science .
-
How to Use Apple's fm CLI to Run On-Device LLMs From Python
A Sate Padang vision test and a Malaysia capital question show why the free, private model needs grounding and validation before it leaves prototyping. The post How to Use Apple's fm CLI to Run On-Device LLMs From Python appeared first on Towards Data Science .
-
A Jev of All Trades: Build and Train a Jev-style Decision Model From Scratch
Trained on six PathMNIST tissues with a small KEEP adapter, it handled added labels without retraining, though a linear classifier hit 88% on familiar ones. The post A Jev of All Trades: Build and Train a Jev-style Decision Model From Scratch appeared first on Towards Data…
-
Scikit-Learn Matched or Beat Jev's Calibration on BANKING77
Jev needs no training and at most three examples per intent; the open rebuild needs labels. Both still fall into the none-of-the-above trap. The post Scikit-Learn Matched or Beat Jev's Calibration on BANKING77 appeared first on Towards Data Science .
-
A Session-Start Hook Raised Claude Code Skill Firing From 15% to 62%
A software tester ran six testing skills on Haiku, Sonnet, and Opus; pushy descriptions added only 5 points, and near-miss requests never fired a skill. The post A Session-Start Hook Raised Claude Code Skill Firing From 15% to 62% appeared first on Towards Data Science .
-
How to Validate LLM Output in a DuckDB and dbt Pipeline
A Gemini Flash-Lite step pulls skills, seniority, and Nigeria eligibility from 18 RemoteOK postings, with Python checks and dbt tests guarding every answer. The post How to Validate LLM Output in a DuckDB and dbt Pipeline appeared first on Towards Data Science .
-
Copilot Caught 8 of 8 Diff Bugs With Rules, 0 of 2 Outside the Diff
A guard on negative enrollment days looked correct while the function it called overbilled a customer 11 days, and an invariant test would have caught it. The post Copilot Caught 8 of 8 Diff Bugs With Rules, 0 of 2 Outside the Diff appeared first on Towards Data Science .