🦜 Towards Data Science - Medium
@towardsdatascience.com.source.rss----7f60cf5620c9---4@rss-parrot.net
I'm an automated parrot! I relay a website's RSS feed to the Fediverse. Every time a new post appears in the feed, I toot about it. Follow me to get all new posts in your Mastodon timeline!
Brought to you by the RSS Parrot.
---
Your home for data science. A Medium publication sharing concepts, ideas and codes. - Medium
Your feed and you don't want it here? Just
e-mail the birb.
How to Learn Supply Chain Analytics in 2027 with Claude Code
https://towardsdatascience.com/how-to-learn-supply-chain-analytics-in-2027-with-claude-code/
Published: November 21, 2026 15:00
Each 5-minute case study pairs operational context, a problem statement, and documented code, so data scientists and non-coding planners learn together.
The post How to Learn Supply Chain Analytics in 2027 with Claude Code appeared first on Towards Data…
Censored vs. Truncated Regression in Python, Explained
https://towardsdatascience.com/censored-vs-truncated-regression-in-python-explained/
Published: November 21, 2026 13:00
A simulated salary survey shows OLS shrinking a $5k-per-year effect to $3.2k, then recovers it with Tobit and truncated likelihoods built from scratch.
The post Censored vs. Truncated Regression in Python, Explained appeared first on Towards Data Science.
LightGBM vs. a Four-Week Average for Forecasting Bike-Share Rentals
https://towardsdatascience.com/lightgbm-vs-a-four-week-average-for-forecasting-bike-share-rentals/
Published: November 20, 2026 16:30
A 48-hour Capital Bikeshare experiment pits XGBoost, Ridge, SARIMA, and Prophet against simple baselines, with care for missing hours and leakage.
The post LightGBM vs. a Four-Week Average for Forecasting Bike-Share Rentals appeared first on Towards Data…
Clairic Hit 98% Accuracy on 72.8% of Questions via Confidence Scores
https://towardsdatascience.com/clairic-hit-98-accuracy-on-728-of-questions-via-confidence-scores/
Published: November 20, 2026 15:00
With a 0.9 confidence cutoff, Cloudflare's System One model handles the easy cases and routes the rest to a bigger, slower LLM like Luna.
The post Clairic Hit 98% Accuracy on 72.8% of Questions via Confidence Scores appeared first on Towards Data Science.
How to Prepare for a Credit Risk Internship Interview in Nine Steps
https://towardsdatascience.com/how-to-prepare-for-a-credit-risk-internship-interview-in-nine-steps/
Published: November 20, 2026 13:30
Two years of interviewing master's students distilled into one logistic regression scoring model, from missing values and VIF to AUC and Gini.
The post How to Prepare for a Credit Risk Internship Interview in Nine Steps appeared first on Towards Data…
Five Guardrails That Limit the Damage an AI Agent Can Do
https://towardsdatascience.com/five-guardrails-that-limit-the-damage-an-ai-agent-can-do/
Published: November 20, 2026 12:00
AI Agents for Beginners, Part three: strict Pydantic arguments, a tool allowlist, read-only SQLite, a step cap, and confirmed writes, all verified by five pytest tests in 0.68s.
The post Five Guardrails That Limit the Damage an AI Agent Can Do appeared…
The 0.95 Expectile Is Not the 95th Percentile
https://towardsdatascience.com/the-095-expectile-is-not-the-95th-percentile/
Published: November 19, 2026 16:30
Exact uniform math and 100 synthetic Python runs show when to target 95% coverage and when asymmetric squared-error costs call for the expectile.
The post The 0.95 Expectile Is Not the 95th Percentile appeared first on Towards Data Science.
How to Run Claude Code and Other Coding Agents in the Cloud 24/7
https://towardsdatascience.com/how-to-run-claude-code-and-other-coding-agents-in-the-cloud-247/
Published: November 19, 2026 15:00
Two setups: flip Claude Code's cloud environment on for the quick path, or rent a server for full control.
The post How to Run Claude Code and Other Coding Agents in the Cloud 24/7 appeared first on Towards Data Science.
How to Oversee AI Agents at Scale With a Three-Tier Architecture
https://towardsdatascience.com/how-to-oversee-ai-agents-at-scale-with-a-three-tier-architecture/
Published: November 19, 2026 13:30
Separate runtime oversight from human review: an autonomous supervisor handles reversible fixes, while humans approve high-impact changes.
The post How to Oversee AI Agents at Scale With a Three-Tier Architecture appeared first on Towards Data Science.
Analytics Engineering's Missing Layer Is Business Communication
https://towardsdatascience.com/analytics-engineerings-missing-layer-is-business-communication/
Published: November 19, 2026 12:00
Why grains, joins, filters, and tests need business translations, and how a four-step framework keeps stakeholders from misreading metric changes.
The post Analytics Engineering's Missing Layer Is Business Communication appeared first on Towards Data…
How AI Agents Become a Tool for Attackers, and How to Stop It
https://towardsdatascience.com/how-ai-agents-become-a-tool-for-attackers-and-how-to-stop-it/
Published: November 18, 2026 16:30
Managing Security When You’re Deploying AI, Part 1: Compromised credentials, salaries inferred from budgets, and doctored documents show why agents need permission checks before the model ever sees the data.
The post How AI Agents Become a Tool for…
Neurosymbolic Agents Explained, With a Z3 Example in Python
https://towardsdatascience.com/neurosymbolic-agents-explained-with-a-z3-example-in-python/
Published: November 18, 2026 15:00
Starting from Air Canada's chatbot case, a tour of Logic-LM, Agent-C, and Amazon's checks shows the solver is sound but the English-to-logic step is not.
The post Neurosymbolic Agents Explained, With a Z3 Example in Python appeared first on Towards Data…
When Qini Rewards the Wrong Uplift Model, Use Doubly Robust Scores
https://towardsdatascience.com/when-qini-rewards-the-wrong-uplift-model-use-doubly-robust-scores/
Published: November 18, 2026 13:30
On 1 million simulated customers, calibrated Qini scored a Linear DR learner 0.0856 against 0.0826 for the true-CATE ranking that should have won.
The post When Qini Rewards the Wrong Uplift Model, Use Doubly Robust Scores appeared first on Towards Data…
How to Estimate Dose-Response Curves When DoubleML Falls Short
https://towardsdatascience.com/how-to-estimate-dose-response-curves-when-doubleml-falls-short/
Published: November 18, 2026 12:00
Simulations test DoubleML against Kennedy's doubly robust estimator, with partial pooling across 200 stores and a DiD fix for hidden confounders.
The post How to Estimate Dose-Response Curves When DoubleML Falls Short appeared first on Towards Data…
How to Improve Coding Agent Efficiency by 30% with an Orchestrator
https://towardsdatascience.com/how-to-improve-coding-agent-efficiency-by-30-with-an-orchestrator/
Published: November 17, 2026 16:30
Stop hunting through sessions for pending questions: a herder agent surfaces them by priority, kept current by webhooks or cheap Haiku polling.
The post How to Improve Coding Agent Efficiency by 30% with an Orchestrator appeared first on Towards Data…
How to Govern Coding Agent Skills Across Repos With Plugins
https://towardsdatascience.com/how-to-govern-coding-agent-skills-across-repos-with-plugins/
Published: November 17, 2026 15:00
Package skills, rules, hooks, and MCP tool configs as versioned plugins, then distribute them through a marketplace, shown with Claude Code and AWS.
The post How to Govern Coding Agent Skills Across Repos With Plugins appeared first on Towards Data…
Google ADK Agents That Pause, Resume, and Wait Hours for a Human
https://towardsdatascience.com/google-adk-agents-that-pause-resume-and-wait-hours-for-a-human/
Published: November 17, 2026 13:30
A synchronous call kept an RSS agent's connection open for 83 seconds; webhooks and 202 receipts free the client while the agent works.
The post Google ADK Agents That Pause, Resume, and Wait Hours for a Human appeared first on Towards Data Science.
How to Design MCP Servers That Leave Orchestration to the Host
https://towardsdatascience.com/how-to-design-mcp-servers-that-leave-orchestration-to-the-host/
Published: November 17, 2026 12:00
A Python SDK v2 catalogue server with two narrow tools, one resource, and one prompt shows how to keep planning, workflow state, and authorisation host-side.
The post How to Design MCP Servers That Leave Orchestration to the Host appeared first on Towards…
After 10 Heads in a Row, Small LLMs Bet Up to 82% on an 11th
https://towardsdatascience.com/after-10-heads-in-a-row-small-llms-bet-up-to-82-on-an-11th/
Published: November 16, 2026 16:30
Telling eight base and instruction-tuned open models that the coin is fair and the flips are independent trims their streak bias by only a few points.
The post After 10 Heads in a Row, Small LLMs Bet Up to 82% on an 11th appeared first on Towards Data…
Why Human in the Loop AI Oversight Fails and How to Fix It
https://towardsdatascience.com/why-human-in-the-loop-ai-oversight-fails-and-how-to-fix-it/
Published: November 16, 2026 15:00
Kahneman's System 1 and System 2, plus the ODPS, ODCS, and Ossie standards, show how to wake reviewers up only when a check fails.
The post Why Human in the Loop AI Oversight Fails and How to Fix It appeared first on Towards Data Science.
How to Avoid AI Replacement as an Analytics Professional in 2027
https://towardsdatascience.com/how-to-avoid-ai-replacement-as-an-analytics-professional-in-2027/
Published: November 16, 2026 13:30
Lessons from manufacturing and logistics projects: follow data from input to output, then turn vague requests into deterministic tools teams trust.
The post How to Avoid AI Replacement as an Analytics Professional in 2027 appeared first on Towards Data…
Local LLMs Handle Textbook RAG but Fail on New Research Papers
https://towardsdatascience.com/local-llms-handle-textbook-rag-but-fail-on-new-research-papers/
Published: November 16, 2026 12:00
Five setups, one blind grading pack: textbook scores ran 12 to 20 of 20, but a paper published this year dropped them to 0 to 9 of 15.
The post Local LLMs Handle Textbook RAG but Fail on New Research Papers appeared first on Towards Data Science.
A Practitioner's Guide to 6 Agentic GraphRAG Patterns
https://towardsdatascience.com/a-practitioners-guide-to-6-agentic-graphrag-patterns/
Published: November 15, 2026 15:00
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
https://towardsdatascience.com/computing-effective-dimension-for-quantum-ml-models-in-pytorch/
Published: November 15, 2026 13:00
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
https://towardsdatascience.com/how-to-build-a-markov-chain-in-python-with-numpy/
Published: November 14, 2026 15:00
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
https://towardsdatascience.com/data-from-100-ai-agents-shows-they-fail-by-silent-drift-not-errors/
Published: November 14, 2026 13:00
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…
Keyword Search Tied an 8B Embedding Model at Picking Agent Tools
https://towardsdatascience.com/keyword-search-tied-an-8b-embedding-model-at-picking-agent-tools/
Published: November 13, 2026 16:30
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…
How JEV Makes Decisions About Images, With 4 Python Examples
https://towardsdatascience.com/how-jev-makes-decisions-about-images-with-4-python-examples/
Published: November 13, 2026 15:00
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…
What AI Agents Speed Up in PhD Research, and What They Can't
https://towardsdatascience.com/what-ai-agents-speed-up-in-phd-research-and-what-they-cant/
Published: November 13, 2026 13:30
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…
How to Check Local LLM Output with Ollama, Gemma 4, and Nimble
https://towardsdatascience.com/how-to-check-local-llm-output-with-ollama-gemma-4-and-nimble/
Published: November 13, 2026 12:00
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
https://towardsdatascience.com/rag-retrieval-lost-40-points-when-distracting-passages-grew-to-268m/
Published: November 12, 2026 16:30
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…
I Mutation-Tested 50 Python Libraries. Tests in the Young Ones Missed 41% of Planted Faults.
https://towardsdatascience.com/i-mutation-tested-50-python-libraries-tests-in-the-young-ones-missed-41-of-planted-faults/
Published: November 12, 2026 15:00
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…
A Soft-Label MNIST Testbed for Human vs. Model Confidence
https://towardsdatascience.com/a-soft-label-mnist-testbed-for-human-vs-model-confidence/
Published: November 12, 2026 13:30
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)
https://towardsdatascience.com/how-to-read-cross-pair-correlation-in-r-without-fake-repulsion-part-3/
Published: November 12, 2026 12:00
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…