All Lessons
125 lessons · 156 interactive pages across 11 modules. Everything is free — no account required.
Master the Python fundamentals every data scientist needs — from variables and loops to functions and file I/O.
Learn how to store and manipulate data with Python variables. The foundation of all programming.
Work with ordered sequences — the backbone of data manipulation.
Master key-value storage and unique collections.
Direct the logic of your programs using conditionals and iterations.
Write reusable, clean code blocks and understand variable scope.
Prevent your data pipelines from crashing using Try/Except blocks.
Read and write files — the gateway to real datasets.
Master string manipulation, regex, and text processing for data cleaning.
Write concise, efficient code with list/dict comprehensions and generators.
Write professional, debuggable code using assertions, logging, and testing.
The world's most popular data manipulation library. Load, clean, filter, and analyse tabular data with ease.
Create, inspect, and understand Pandas DataFrames — the core data structure.
Create complex new columns using row-wise and column-wise custom functions.
Parse dates, extract time features, and resample time-series data.
Handle missing data, outliers, and duplicates like a pro.
Transform data between long and wide formats with pivot tables.
Resample frequencies, compute rolling statistics, and handle temporal data.
Explore relationships between variables using correlation and statistical tests.
Read and write CSV, Excel, JSON, and SQL databases efficiently.
Detect and handle outliers, validate data quality, and prepare for modeling.
Master melt, stack, unstack, and multi-level indexing for complex reshaping.
Turn raw numbers into compelling visual stories using Matplotlib and Seaborn in the browser.
Master Matplotlib's figure/axes model and draw beautiful line charts.
Visualize distributions, comparisons, and correlations.
Easily visualize distributions and correlations using the Seaborn library.
Identify outliers and understand data spread using Box and Violin plots.
Make your charts look like they belong in a premium dashboard or academic paper.
Add interactivity — click, hover, and zoom in Matplotlib.
Visualize 2D data, correlation matrices, and dense datasets with heatmaps.
Visualize distributions with KDE, violin plots, and quantile-quantile plots.
Create 3D surface plots, scatter plots, and interactive 3D visualizations.
Master figure styles, fonts, legends, and create publication-quality visualizations.
Unlock high-performance vectorized math. NumPy is the engine that powers Pandas, Scikit-Learn, and all matrix operations.
Understand vectorization and create your first n-dimensional arrays.
Perform matrix math, dot products, and understand broadcasting rules.
Replace slow Python loops with blazing-fast C-level element-wise operations.
Calculate means, variances, standard deviations, and percentiles along specific axes.
Generate random samples, set seeds for reproducibility, and simulate distributions.
Use arrays as indices to select complex subsets of data.
Perform operations on arrays of different shapes efficiently.
Master matrix operations, eigenvalues, and matrix decomposition for machine learning.
Save and load NumPy arrays efficiently using .npy, .npz, and text formats.
Fit polynomials to data and create smooth curve approximations.
Profile NumPy code, benchmark operations, and optimize for speed.
Master every ML algorithm: Regression, Classification, Clustering, Ensemble Methods. Build from scratch using pure NumPy. 17 comprehensive lessons covering Linear/Logistic Regression, SVM, Naive Bayes, KNN, Decision Trees, K-Means, DBSCAN, GMM, Boosting, and more.
Understand structured vs. unstructured data, and the difference between Supervised and Unsupervised learning.
Build your first predictive model using pure math, NumPy, and Gradient Descent.
Understand how Gradient Descent navigates the error curve to find the minimum.
Predict categories (yes/no, spam/not spam) using the Sigmoid function.
Learn the intuition behind instance-based learning using Euclidean distance.
Move beyond Accuracy. Learn Precision, Recall, and F1-Score using pure NumPy logic.
Group similar data points automatically using K-Means clustering, built from scratch.
Simplify complex datasets by finding the most important angles (Principal Components) using pure linear algebra.
Understand how trees partition data using Gini Impurity and Information Gain.
Stop models from overfitting by penalizing large weights using Lasso and Ridge techniques.
Build a robust K-Fold splitter to prove your model's true performance without relying on a single lucky train/test split.
Use Bayes' theorem to build a fast, efficient probabilistic classifier. Great for text and spam detection.
Find the optimal hyperplane that maximizes the margin between classes. Powerful for complex boundaries.
Master boosting: iteratively improve weak learners by focusing on mistakes.
Cluster data by density without specifying number of clusters. Detect outliers automatically.
Probabilistic clustering. Each sample belongs to multiple clusters with probability.
Boost accuracy by combining weak learners into powerful ensemble models.
Master model explanation techniques (SHAP, LIME), advanced evaluation metrics, hyperparameter tuning, and real-world deployment patterns.
Go beyond accuracy with AUC-ROC, Precision-Recall curves, RMSE, MAE, and when to use each.
Ensure class distribution is consistent across folds using Stratified splits.
Explain any model's predictions using game theory. Understand why the model made that decision.
Approximate any black-box model with simple local decision rules.
Understand normal, skewed, and multimodal distributions. Know when your data violates assumptions.
Understand why algorithms need scaled features. Learn StandardScaler, MinMaxScaler, RobustScaler.
Techniques to handle imbalanced datasets: SMOTE, class weights, and threshold adjustment.
Systematically search for optimal hyperparameters using GridSearchCV and RandomizedSearchCV.
Transform raw features into powerful predictors through encoding, binning, and domain knowledge.
Master gradient boosting with XGBoost, the most powerful algorithm in production ML.
Stacking, Voting, and Blending — Combine diverse models for superior performance.
Understand perceptrons, backpropagation, and when to use deep learning.
Turn trained models into APIs. Learn Flask, Docker, and serving predictions at scale.
Detect when models degrade and trigger retraining.
Detect and mitigate bias. Build fair, transparent ML systems.
Forecast trends with ARIMA, seasonal decomposition, and LSTM networks.
Distinguish correlation from causation. Design and analyze A/B tests correctly.
Ensure your probability predictions are trustworthy and well-calibrated.
Master deep learning from neurons to transformers. 18 comprehensive lessons covering neural network fundamentals, CNNs, RNNs, LSTMs, GRUs, GANs, attention mechanisms, and production deployment.
Understand the biological inspiration behind artificial neurons and how they compute.
Understand the forward pass and backpropagation algorithm that trains neural networks.
Master loss functions and modern optimizers like Adam that make training faster.
Convert text into numerical vectors that capture semantic meaning.
Learn convolutional layers that automatically detect visual features (edges, shapes, objects).
Process sequences by maintaining memory through recurrent connections.
The revolutionary attention mechanism that powers BERT, GPT, and modern NLP.
Create synthetic data by pitting a generator against a discriminator in adversarial training.
Techniques to train deep networks stably and prevent overfitting.
Use pre-trained models and deploy neural networks in production.
Master Generative AI from transformer architecture to practical LLM applications. 12 comprehensive lessons covering ChatGPT, fine-tuning, RAG, prompt engineering, and enterprise deployment.
Understand the transformer architecture that powers all modern LLMs.
How ChatGPT, Claude, and other LLMs work at a high level.
Master the art of writing effective prompts to get the best results from LLMs.
Add knowledge to LLMs without fine-tuning using RAG systems.
Build chatbots, agents, and deploy LLMs in production.
Understand bias, hallucinations, safety concerns, and responsible deployment of LLMs.
Models that understand both text and images (GPT-4V, Claude 3, etc).
What's coming next in GenAI: multimodal, reasoning, agents, and beyond.
Master autonomous agents that take actions, use tools, reason over problems, and accomplish goals without human intervention. Build ReAct agents, multi-agent systems, and production AI workflows.
Understand agents, their capabilities, and how they differ from chatbots.
ReAct, Chain-of-Thought, Reflexion, and other agent design patterns.
How agents access external tools, APIs, and execute functions.
How agents maintain memory across steps and conversations.
How agents plan complex tasks, reason about problems, and handle failures.
Multiple agents collaborating, competing, and solving complex problems together.
How to measure agent performance, success rate, and quality.
Deploying reliable, scalable agents in real-world applications.
Using LangChain, AutoGPT, and other frameworks to build agents quickly.
Practical applications: customer support, research, coding, business automation.
Master the Model Context Protocol for building standardized, scalable AI systems. Learn to create MCP servers, integrate tools with LLMs and agents, and build production AI architectures.
Understand the Model Context Protocol, its architecture, and why it matters.
Advanced tool capabilities, resources, and prompts in MCP.
Connect LLMs and agents to MCP servers.
Secure MCP deployments with auth, authorization, and sandboxing.
Deploy MCP servers reliably and scale to production workloads.
Test and debug MCP servers and client integrations.
Master the sliding window pattern for efficient data processing. From network protocols to algorithmic optimization, learn to solve problems in linear time with constant space.
Understand the sliding window pattern and core intuition.
Advanced sliding window with two pointers for matching problems.
TCP/IP sliding window for reliable data transmission.
Efficient string algorithms using sliding window patterns.
Handle infinite data streams with fixed memory using sliding windows.
Optimize sliding window with data structures and caching.
Apply sliding window to finance, analytics, and systems.
Analyze and optimize sliding window algorithm performance.
All lessons are free. No account needed. Run Python directly in your browser.
Start with Python Basics