Free demoJob-oriented courses at Debugshala, Old Palasia, Indore. Freshers, non-IT and year-gap welcome.Book a free demo +91-8982385539

Data Science Tutorials

All tutorials

63 free tutorials, in the order we recommend reading them.

Data Science Tutorial · Data Science Foundations

Data Science Tutorial · Python for Data Science

Data Science Tutorial · Career Guide

Statistics and EDA · Statistics for Data Science

Statistics for Data Science: Mean, Spread and Distributions

Mean, median, standard deviation, percentiles, the normal distribution and correlation vs causation, each with short NumPy code you can run.

8 min read

Probability for Data Science: Rules and Python Examples

Learn probability for data science: events, addition and multiplication rules, conditional probability and expected value, with pandas code you can run.

10 min read

Probability Distributions Explained: Binomial, Poisson, Normal

Binomial, Poisson, normal and exponential distributions explained with PMF, PDF and CDF, a chooser flowchart and Python code that runs without scipy.

10 min read

Central Limit Theorem Explained with a Python Simulation

See the central limit theorem in action: simulate skewed data in numpy, compute standard error, build confidence intervals and learn when the CLT fails.

9 min read

Bayes' Theorem Explained with Examples and Python Code

Bayes' theorem made intuitive with a dengue test example, natural frequency trees, spam filtering and Bayesian A/B testing, each with runnable Python.

9 min read

Hypothesis Testing in Python: p-values, t-tests, Chi-square

Hypothesis testing step by step: null and alternative, p-values, Welch's t-test, chi-square and Type I/II errors, with numpy code that runs in your browser.

11 min read

A/B Testing for Data Scientists: Design, Sample Size, Analysis

Plan and analyse A/B tests: sample size, random assignment, two-proportion z-test, confidence intervals, peeking and sample ratio mismatch, in Python.

10 min read

Sampling Techniques in Statistics: Types with Python Examples

Simple random, systematic, stratified, cluster and convenience sampling compared, with sampling bias, sample size formulas and pandas code to try.

10 min read

Linear Algebra for Data Science: Vectors, Matrices, Python

Linear algebra for data science made practical: vectors, dot products, cosine similarity, matrix multiplication and eigenvectors, with runnable numpy code.

10 min read

Statistics and EDA · Exploratory Data Analysis

Machine Learning Tutorial · Machine Learning Foundations

AI vs ML vs Deep Learning: Differences and Types of Learning

AI vs ML vs deep learning explained with a nested-circles diagram, plus supervised, unsupervised and reinforcement learning labs you can run in Python.

10 min read

Overfitting and the Bias-Variance Trade-off, with a NumPy Demo

Understand overfitting, underfitting and the bias-variance trade-off by fitting polynomials in NumPy, then fix it with more data, ridge and cross-validation.

9 min read

Model Evaluation Metrics: Accuracy, F1, ROC-AUC, RMSE and More

Model evaluation metrics with runnable sklearn code: train/test split, confusion matrix, precision, recall, F1, ROC-AUC, MAE, RMSE, R² and when to use each.

10 min read

Cross-Validation Explained: K-Fold, Stratified and Time Series

Cross-validation explained with runnable scikit-learn code: k-fold, stratified, time series and group splits, leakage-free pipelines and how to read the scores.

11 min read

Ridge, Lasso and Elastic Net: Regularization in Python

Regularization in machine learning made clear: how ridge shrinks, lasso zeroes and Elastic Net blends coefficients, why scaling matters and how to pick alpha.

11 min read

Hyperparameter Tuning: Grid, Random and Bayesian Search

Hyperparameter tuning in scikit-learn: GridSearchCV vs RandomizedSearchCV, a hands-on Bayesian optimisation loop, Optuna, and a practical tuning workflow.

11 min read

Feature Selection in Machine Learning: Filter, Wrapper, Embedded

Feature selection methods in Python: variance and correlation filters, mutual information, RFECV, lasso and permutation importance, plus the leakage trap.

10 min read

Handling Imbalanced Data: Class Weights, SMOTE and Thresholds

Handle imbalanced data in machine learning: why accuracy fails, class weights, oversampling, undersampling, SMOTE, threshold tuning and PR-AUC, with code.

12 min read

Machine Learning Tutorial · Supervised Learning

Linear Regression Explained: Least Squares to scikit-learn

Linear regression explained with rickshaw fares and rent data: least squares, coefficients, gradient descent, residual checks and assumptions, in Python.

11 min read

Logistic Regression Explained: Sigmoid, Odds and Python Code

Logistic regression explained: how the sigmoid turns a score into a probability, odds ratios, log loss, softmax for many classes and the C parameter in sklearn.

11 min read

K-Nearest Neighbours (KNN) Algorithm Explained with Python

K-nearest neighbours explained: how KNN votes, why scaling matters, how to choose k with cross-validation, KNN regression and the curse of dimensionality.

10 min read

Naive Bayes Classifier Explained: Bayes Rule to Spam Filter

Naive Bayes classifier explained with a WhatsApp spam filter: priors, likelihoods, Laplace smoothing, Gaussian vs Multinomial NB and scikit-learn code.

11 min read

Support Vector Machines (SVM) Explained: Margins and Kernels

Support vector machines explained: maximum margin, support vectors, the C parameter, the kernel trick, RBF gamma and when SVMs beat other models, in Python.

11 min read

Decision Trees Explained: Gini, Entropy and scikit-learn Lab

Decision trees explained with a delivery example: compute Gini and entropy by hand, find the best split, then train DecisionTreeClassifier and print its rules.

9 min read

Random Forest Explained: Bagging, OOB Score and Importance

Random forest explained: bootstrap samples, random feature splits, the out-of-bag score, how many trees you need, feature importance traps and limits.

11 min read

Gradient Boosting and XGBoost Explained with Python Code

Gradient boosting explained step by step: residual-fitting trees, learning rate, early stopping, HistGradientBoosting, and what XGBoost adds on top.

10 min read

Ensemble Learning: Bagging, Boosting and Stacking in Python

Ensemble learning explained: why combining models works, voting, bagging, boosting and stacking with out-of-fold predictions, plus when not to use one.

11 min read

Machine Learning Tutorial · Unsupervised Learning

Machine Learning Tutorial · Advanced ML

Deep Learning Tutorial · Neural Networks

Deep Learning Tutorial · Deep Learning Architectures