Skip to main content
Category
Topics

Data Science Tutorials

Advance your data career with our data science tutorials. We walk you through challenging data science functions and models step-by-step.
Other topics:
GroupTraining 2 or more people?Try DataCamp for Business

SARIMA: A Complete Guide to Seasonal Time Series Forecasting

Learn how SARIMA extends ARIMA to handle seasonality, understand its seven parameters, and build a working model in Python from data collection through forecasting.
Vinod Chugani's photo

Vinod Chugani

July 31, 2026

Silhouette Score: How to Evaluate Clustering Quality

A hands-on guide to the silhouette score, covering the formula, interpretation ranges, a scikit-learn example, how to use it for choosing the right number of clusters, and how it compares to other clustering metrics.
Dario Radečić's photo

Dario Radečić

July 31, 2026

Spurious Correlation: An Important Statistical Trap (and How to Avoid It)

Knowing why spurious relationships happen, from confounders to sampling bias, is what separates a real finding from a statistical coincidence.
Dario Radečić's photo

Dario Radečić

July 29, 2026

Lognormal Distribution: Definition, Properties, and Applications

Learn what the lognormal distribution is, how it relates to the normal distribution, and where it applies across finance, biology, and machine learning.
Vinod Chugani's photo

Vinod Chugani

July 20, 2026

How To Choose A Stock Market Data API For Developer Workflows And AI Agents

Compare stock market data APIs for backtesting, dashboards, screeners, and AI agents, with Python examples covering splits, reliability, and fundamentals.
Nikhil Adithyan's photo

Nikhil Adithyan

June 24, 2026

Kernel Density Estimation: From Theory to Practice

Kernel density estimation is a nonparametric method for estimating the shape of a data distribution without assuming a fixed model. Learn the formula, bandwidth selection, and hands-on implementation in Python and R.
Dario Radečić's photo

Dario Radečić

June 16, 2026

Logistic Regression Assumptions: What You Need to Check Before Modeling

A practical walkthrough of the assumptions behind logistic regression, the diagnostics that catch violations in Python and R, and the alternatives to reach for when the assumptions don't hold.
Dario Radečić's photo

Dario Radečić

June 15, 2026

Spline Regression: A Practical Guide with Python & R

A practical guide to spline regression, covering how piecewise polynomials and knots model nonlinear relationships, the main spline types, and how to fit them in Python and R.
Dario Radečić's photo

Dario Radečić

June 14, 2026

Generalized Linear Model (GLM): A Beginner's Guide to Theory and Code

A practical guide to GLMs - what they are, how their three components work together, and how to fit and interpret them in Python and R.
Dario Radečić's photo

Dario Radečić

June 12, 2026

Overfitting vs. Underfitting: A Practical Guide to Model Diagnostics

A detailed walkthrough of overfitting and underfitting in machine learning, including how to identify each failure mode, why it happens, and how to fix it through the bias-variance tradeoff.
Dario Radečić's photo

Dario Radečić

June 12, 2026

Markov Chain Monte Carlo (MCMC): Sample Complex Probability Distributions

A guide to Markov Chain Monte Carlo - covering how it works, why it’s used, the most common algorithms, and how to apply it in Python for Bayesian inference.
Dario Radečić's photo

Dario Radečić

June 10, 2026