All Sheets
Practical cheat sheets to help you learn and build faster.
Vector Search vs Traditional Search — Visual Guide to BM25, Embeddings & Hybrid Search
A 13-page visual guide comparing keyword (BM25), vector, and hybrid search, with embedding models, ANN indexes, FAISS and Elasticsearch examples, ranking techniques, and evaluation checklists.
Tensors in AI
A 15-page visual guide to tensors in AI and deep learning. Master tensor rank, shape, indexing, reshaping, broadcasting, matrix multiplication, attention shapes, memory, autograd, and practical PyTorch operations.
Parameters vs Hyperparameters vs Model Weights
An 11-page visual beginner’s guide to parameters, hyperparameters, and model weights in machine learning, with diagrams, worked examples, tuning strategies, model-size calculations, and practical Python examples.
Attention in AI
A 14-page visual guide to Attention in AI, covering Q/K/V, scaled dot-product attention, self & cross-attention, masking, multi-head attention, positional encoding, KV cache, FlashAttention, and practical NumPy + PyTorch code.
Gradient Descent vs SGD vs Adam
A 10-page visual beginner’s guide to Gradient Descent, SGD, mini-batch SGD, Adam and AdamW, with learning-rate guidance, momentum, real experiments, optimizer comparisons, and practical NumPy & PyTorch code.
Perceptron vs Multilayer Neural Network
A visual beginner’s guide to perceptrons and multilayer neural networks, covering hidden layers, XOR, activation functions, backpropagation, training, and practical Python examples.
CNN vs RNN vs Transformer
An 18-page visual beginner’s guide to CNNs, RNNs/LSTMs, and Transformers, covering how each architecture works, when to use it, attention, convolution, sequence memory, training, model selection, and practical PyTorch code.
Feature Selection Methods in Python
A 17-page visual guide to feature selection in Python covering filter, wrapper, and embedded methods, 12+ selectors, leakage-safe pipelines, practical scikit-learn code, benchmarks, and model-selection strategies.
Hyperparameter Tuning Guide
An 11-page visual hyperparameter tuning guide covering GridSearchCV, RandomizedSearchCV, Optuna, Bayesian optimization, search spaces, nested cross-validation, leakage prevention, early stopping, and practical model-tuning workflows.
Which Classification Algorithm Should I Use?
Choose the right classification algorithm with this 16-page visual machine-learning guide covering Logistic Regression, SVM, KNN, Naive Bayes, decision trees, Random Forest, gradient boosting and more, with decision flowcharts, scikit-learn code, metrics, imbalance handling, calibration and model-selection guidance.
Feature Scaling Methods in Python
Master feature scaling in Python with this 9-page visual guide to StandardScaler, MinMaxScaler, RobustScaler, MaxAbsScaler, PowerTransformer, QuantileTransformer and more, including scikit-learn examples, leakage-safe pipelines and a practical scaler decision flowchart.
How Does Generative AI Actually Work?
A 14-page visual guide to how generative AI actually works—from tokens, embeddings and transformers to training, reasoning models, sampling, diffusion, RAG and AI agents. Includes diagrams, comparison tables, Python snippets and practical decision guides.