Skip to main content
learning data science

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
GroupTraining 2 or more people?Try DataCamp for Business

AdamW Optimizer in PyTorch Tutorial

Discover how the AdamW optimizer improves model performance by decoupling weight decay from gradient updates. This tutorial explains the key differences between Adam and AdamW, their use cases and provides a step-by-step guide to implementing AdamW in PyTorch.
Kurtis Pykes 's photo

Kurtis Pykes

October 21, 2024

How to Create Dumbbell Charts in Tableau: A Complete Guide

Learn how to create and customize dumbbell charts in Tableau. Discover how to prepare your data, build the chart, and enhance it for impactful visual comparisons!
Tim Lu's photo

Tim Lu

October 21, 2024

OpenAI Realtime API: A Guide With Examples

Learn how to build real-time AI applications with OpenAI's Realtime API. This tutorial covers WebSockets, Node.js setup, text/audio messaging, function calling, and deploying a React voice assistant demo.
François Aubry's photo

François Aubry

October 11, 2024

DAX SUMMARIZE(): A Guide to Grouping and Summarizing Data

The SUMMARIZE() function in DAX creates summary tables by grouping data and applying aggregate functions in tools like Power BI and Excel Power Pivot. Keep reading to learn how to use DAX SUMMARIZE() to group and aggregate your data and derive good insights.
Laiba Siddiqui's photo

Laiba Siddiqui

October 11, 2024

Fine-Tuning Phi-3.5 on E-Commerce Classification Dataset

Discover Microsoft's new LLM series and boost your model's accuracy from 65% to 86% by fine-tuning it on the E-commerce classification dataset.
Abid Ali Awan's photo

Abid Ali Awan

October 10, 2024

Swarm Intelligence Algorithms: Three Python Implementations

Learn how swarm intelligence works by implementing ant colony optimization (ACO), particle swarm optimization (PSO), and artificial bee colony (ABC) using Python.
Amberle McKee's photo

Amberle McKee

October 10, 2024

The Difference Between WHERE and HAVING in SQL

Discover how WHERE filters row-level data in SQL queries, while HAVING filters grouped data after aggregation, and master their distinct uses in SQL querying.
Islam Salahuddin's photo

Islam Salahuddin

October 10, 2024

SQL Order of Execution: Understanding How Queries Run

Understand the SQL order of execution and how its different from the order of writing. Write accurate and optimized queries for improved performance and avoid common mistakes in query design.
Allan Ouko's photo

Allan Ouko

October 10, 2024

Speculative RAG Implementation With Transformers

Learn Speculative RAG, a technique that improves RAG through a two-step drafting and verification process, and apply your skills with a hands-on implementation using Hugging Face Transformers.
Bhavishya Pandit's photo

Bhavishya Pandit

October 10, 2024