Data Science Tutorials
Learn data science and AI with step-by-step tutorials on the DataCamp blog. Master Python, SQL, machine learning, and build your own AI agents.
Discover categories
Training 2 or more people?Try DataCamp for Business
Causal Machine Learning: From Prediction to Cause and Effect
Causal machine learning combines ML with causal inference to move beyond prediction and estimate what happens when you intervene. This article covers the core concepts, methods, Python tools, and common mistakes.
Dario Radečić
September 14, 2026
State Space Models: How They Work and Where They're Used
Learn how state space models represent dynamic systems using hidden states and observations, including the state and observation equations, Kalman filtering, and time-series applications.
Vinod Chugani
September 14, 2026
Code Review With Claude Code: Catch Bugs Before They Reach Production
A practical guide to reviewing Python data science pull requests with Claude Code, GitHub, and ultrareview.
Tim Lu
September 14, 2026
LangChain4j Tool Memory Tutorial: Build a Java Agent With Oracle AI Database
Learn how to build a simple LangChain4j agent that can remember important notes across conversations.
Anders Swanson
September 13, 2026
LMCache Tutorial: Build a Scalable KV Cache Layer for LLM Inference
Learn how LMCache stores and reuses KV states across LLM requests, integrates with vLLM, and reduces repeated prefill computation for long-context inference.
Abid Ali Awan
September 13, 2026
Residual Plots Explained: How to Check Regression Model Assumptions
Learn what a residual plot is, how to interpret common patterns, and how residual plots help identify nonlinearity, heteroscedasticity, outliers, and other regression problems.
Vinod Chugani
September 10, 2026
Saddle Points in Optimization: What They Are and Why They Matter
A practical, math-first look at saddle points - what makes them different from local minima and maxima, how to spot one using gradients and the Hessian, and why they show up so often in high-dimensional optimization and neural network training.
Dario Radečić
September 10, 2026
Augmented Matrix Explained: How to Solve Systems of Equations
Learn what an augmented matrix is, how it represents systems of equations, and how to use row operations to solve them.
Iheb Gafsi
September 10, 2026
How to Reduce Token Usage in AI Coding Agents: 4 Tools That Can Help
Reduce token usage by cutting context bloat, terminal noise, verbose responses, and over-engineered code with lightweight tools that optimize coding-agent workflows automatically.
Abid Ali Awan
September 10, 2026
Build a Simple Task Manager With Categories Using Node.js and MongoDB
Learn how to organize tasks by category using Node.js and MongoDB. Build a REST API with create, list, get, update, delete endpoints and category filter.
Edidiong Asikpo
September 9, 2026
Self-Supervised Learning: How Models Learn Without Labeled Data
Self-supervised learning trains models to pull their own supervision from unlabeled text, images, audio, and video, using techniques like contrastive learning, masked modeling, and autoregressive prediction to build the representations behind today's language, vision, and multimodal models.
Dario Radečić
September 9, 2026
Muse Spark 1.3 Tutorial: A Hands-On Developer Guide
Set up Muse Spark 1.3 in Muse Code and the Meta Model API, choose between the contributor and standard tiers, and see whether Meta's efficiency claims hold.
Josep Ferrer
September 7, 2026