Skip to main content
Category
Topics

Machine Learning Tutorial

Get insights & best practices into AI & machine learning, upskill, and build data cultures. Learn how to get the most out of machine learning models with our tutorials.
Other topics:
GroupTraining 2 or more people?Try DataCamp for Business
All posts
Machine Learning

Understanding UMAP: A Comprehensive Guide to Dimensionality Reduction

Learn how UMAP simplifies high-dimensional data visualization with detailed explanations, practical use cases, and comparisons to other dimensionality reduction methods, including t-SNE and PCA.
Arunn Thevapalan's photo

Arunn Thevapalan

November 4, 2025

Machine Learning

Tanh Function: Why Zero-Centered Outputs Matter for Neural Networks

This guide explains the mathematical intuition behind the tanh function, how it compares to sigmoid and ReLU, its advantages and trade-offs, and how to implement it effectively in deep learning.
Dario Radečić's photo

Dario Radečić

November 3, 2025

Machine Learning

Softplus: The Smooth Activation Function Worth Knowing

This guide explains the mathematical properties of Softplus, its advantages and trade-offs, implementation in PyTorch, and when to switch from ReLU.
Dario Radečić's photo

Dario Radečić

October 29, 2025

Data Science

Discrete Probability Distributions Explained with Examples

Understand discrete probability distributions in data science. Explore PMF, CDF, and major types like Bernoulli, Binomial, and Poisson with Python examples.
Vaibhav Mehra's photo

Vaibhav Mehra

October 29, 2025

Machine Learning

Feed-Forward Neural Networks Explained: A Complete Tutorial

Feed-Forward Neural Networks (FFNNs) are the foundation of deep learning, used in image recognition, Transformers, and recommender systems. This complete FFNN tutorial explains their architecture, differences from MLPs, activations, backpropagation, real-world examples, and PyTorch implementation.
Vaibhav Mehra's photo

Vaibhav Mehra

September 16, 2025

Artificial Intelligence

Vision Transformers (ViT) Tutorial: Architecture and Code Examples

Learn how Vision Transformers (ViTs) leverage patch embeddings and self-attention to beat CNNs in modern image classification. This in-depth tutorial breaks down the ViT architecture, provides step-by-step Python code, and shows you when to choose ViTs for real-world computer-vision projects.
Vaibhav Mehra's photo

Vaibhav Mehra

August 28, 2025

Machine Learning

Introduction to Maximum Likelihood Estimation (MLE)

Learn what Maximum Likelihood Estimation (MLE) is, understand its mathematical foundations, see practical examples, and discover how to implement MLE in Python.
Vaibhav Mehra's photo

Vaibhav Mehra

July 27, 2025

Machine Learning

KL-Divergence Explained: Intuition, Formula, and Examples

Explore KL-Divergence, one of the most common yet essential tools used in machine learning.
Vaibhav Mehra's photo

Vaibhav Mehra

July 27, 2025

Machine Learning

Sensitivity and Specificity: A Complete Guide

Learn to distinguish sensitivity and specificity, and appropriate use cases for each. Includes practical examples.
Mark Pedigo's photo

Mark Pedigo

July 15, 2025

Machine Learning

What is Underfitting? How to Detect and Overcome High Bias in ML Models

Explore what underfitting is, how to diagnose an underfitting model, and discover actionable strategies on how to fix underfitting, ensuring your models accurately capture data patterns and deliver reliable predictions.

Rajesh Kumar

May 29, 2025