R² = 1 - SSres/SStot
∇w = ∂L/∂w
Gini = 1 - Σpi²
Quick Reference
Data Science
Home / Study Lab / Cheat Sheets
QUICK REFERENCE

Cheat Sheets

All key formulas, concepts, and interview questions on one printable page. Perfect for quick revision.

AVAILABLE 8 Sections Printable

Logistic Regression

Complete Cheat Sheet

All key formulas, loss function, optimization steps, gradient derivation, assumptions, common mistakes, regularization, and interview questions in one printable page.

Sigmoid & Formulas BCE Loss Gradient Descent Regularization Interview Questions
View Cheat Sheet →
AVAILABLE 8 Sections Printable

Linear Regression

Complete Cheat Sheet

OLS formulas, normal equation, cost functions, gradient descent, R-squared, assumptions, and common interview questions.

OLS Formula MSE & R-Squared Normal Equation Assumptions Regularization
View Cheat Sheet →
AVAILABLE 8 Sections Printable

Neural Networks

Complete Cheat Sheet

Activation functions, backpropagation formulas, weight initialization, loss functions, and optimization algorithms at a glance.

Activations Backpropagation Optimizers Architectures Interview Questions
View Cheat Sheet →
AVAILABLE 8 Sections Printable

Decision Trees & Random Forests

Complete Cheat Sheet

Entropy, Gini index, information gain, pruning methods, random forests, gradient boosting, and XGBoost at a glance.

Entropy & Gini Random Forests XGBoost Pruning Interview Questions
View Cheat Sheet →
AVAILABLE 10 Sections Printable

Naive Bayes

Complete Cheat Sheet

Bayes' theorem, Gaussian/Multinomial/Bernoulli formulas, Laplace smoothing, MAP estimation, assumptions, and interview questions in one printable page.

Bayes' Theorem Gaussian NB Laplace Smoothing MAP Decision Interview Questions
View Cheat Sheet →
AVAILABLE 10 Sections Printable

Support Vector Machines

Complete Cheat Sheet

Hyperplane equations, kernel functions, margin optimization, C/gamma tuning, hinge loss, and interview questions in one printable page.

Hyperplane & Margin Kernel Functions Soft Margin Hyperparameters Interview Questions
View Cheat Sheet →
AVAILABLE 10 Sections Printable

K-Nearest Neighbors

Complete Cheat Sheet

Distance formulas, choosing K, weighted voting, feature scaling, KD-Trees, curse of dimensionality, and interview questions at a glance.

Distance Metrics Choosing K Feature Scaling KD-Trees Interview Questions
View Cheat Sheet →
AVAILABLE 10 Sections Printable

K-Means Clustering

Complete Cheat Sheet

Algorithm steps, objective function, K-Means++ initialization, elbow method, silhouette score, clustering variants, and interview questions.

Algorithm Steps K-Means++ Elbow Method Evaluation Metrics Interview Questions
View Cheat Sheet →
AVAILABLE 8 Sections Printable

Gradient Boosting (XGBoost)

Complete Cheat Sheet

Boosting formulas, algorithm steps, hyperparameters, regularization, XGBoost vs LightGBM vs CatBoost comparison, and feature importance.

Boosting Formulas Hyperparameters Regularization Variant Comparison Interview Questions
View Cheat Sheet →
AVAILABLE 8 Sections Printable

PCA (Principal Component Analysis)

Complete Cheat Sheet

Covariance matrix formulas, eigendecomposition, SVD connection, component selection rules, kernel PCA, and common pitfalls.

Key Formulas Algorithm Steps SVD Connection Component Selection Interview Questions
View Cheat Sheet →
AVAILABLE 8 Sections Printable

DBSCAN (Density-Based Clustering)

Complete Cheat Sheet

Epsilon neighborhood formulas, core/border/noise definitions, algorithm steps, parameter selection, DBSCAN vs K-Means comparison, and variants.

Point Types Algorithm Steps Parameter Selection DBSCAN vs K-Means Interview Questions
View Cheat Sheet →
AVAILABLE 8 Sections Printable

Random Forest

Complete Cheat Sheet

Bagging formulas, OOB error estimation, feature importance methods, hyperparameter quick reference, ensemble vs single tree comparison, and interview essentials.

Bagging OOB Error Feature Importance Hyperparameters Interview Questions
View Cheat Sheet →
AVAILABLE 8 Sections Printable

CNN (Convolutional Neural Networks)

Complete Cheat Sheet

Convolution formulas, output size calculations, pooling operations, famous architecture summaries, transfer learning steps, and key interview questions.

Convolution Pooling Architectures Transfer Learning Interview Questions
View Cheat Sheet →
AVAILABLE 8 Sections Printable

RNN / LSTM (Recurrent Neural Networks)

Complete Cheat Sheet

RNN equations, LSTM gate formulas, GRU comparison, vanishing gradient solutions, BPTT steps, and sequence modeling best practices.

RNN Equations LSTM Gates GRU Gradient Solutions Interview Questions
View Cheat Sheet →
AVAILABLE 8 Sections Printable

Transformers & Attention

Complete Cheat Sheet

Self-attention formulas, multi-head attention, positional encoding, Transformer architecture, BERT vs GPT comparison, and scaling law essentials.

Self-Attention Multi-Head Positional Encoding BERT vs GPT Interview Questions
View Cheat Sheet →