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
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
Gemini 3.8 Flash API Tutorial: Thinking Levels, PDF Extraction, and Function Calling in Python
Learn how to use the Gemini 3.8 Flash API in Python: Interactions API setup, thinking_level tuning, PDF-to-JSON extraction, and function calling with code.
Aryan Irani
September 7, 2026
GPT-6 Astra API Tutorial: Build a Release Check Agent With Async Tools and Steering
Use GPT-6 Astra via the OpenAI API to build a Python release check agent with async tools, reasoning controls, Structured Outputs, and cost tracking, then test computer use and steering.
Khalid Abdelaty
September 7, 2026
Agent Harness Engineering Guide: Bridging the Gap Between Models and Action
Learn how to build a custom AI agent harness with Python, ReAct loops, and durable state.
Tim Lu
September 6, 2026
Claude Fable 5.1 API Tutorial: Build a Long-Running Developer Agent in Python
Learn how to use Anthropic’s latest flagship model to build a Python agent that reads a Flask repository before planning a change. Add progress updates, read-only file tools, and cost controls.
Khalid Abdelaty
September 3, 2026
How to Use Unsloth Desktop for Local AI Workflows
Use Unsloth Desktop for local AI workflows, including LLM inference, fine-tuning, vision models, image and video generation, OpenCode coding agents, and local APIs from one desktop application.
Abid Ali Awan
September 2, 2026