Maths
435 topics found
Mathematical foundations
1 of 71 done
Basic mathematics
- Sets, relations, and functions
- Linear and nonlinear functions
- Polynomial functions
- Exponential and logarithmic functions
- Summations and mathematical notation
- Sequences, series, and limits
- Permutations and combinations
- Mathematical proof techniques
Linear algebra
- Scalars, vectors, matrices, and tensors
- Dot product and inner product
- Vector norms: L1, L2, and Lp
- Euclidean and manhattan distances
- Cosine similarity
- Matrix operations and multiplication
- Matrix transpose, inverse, and determinant
- Systems of linear equations
- Vector spaces and subspaces
- Span, basis, and linear independence
- Matrix rank
- Linear transformations
- Orthogonality and orthogonal projections
- Eigenvalues and eigenvectors
- Positive definite matrices
- Singular value decomposition SVD
- Low-rank matrix approximation
Calculus
- Limits and continuity
- Derivatives from first principles
- Differentiation rules
- Chain rule
- Partial derivatives
- Gradients
- Jacobian matrix
- Hessian matrix
- Taylor series expansion
- Maxima, minima, and saddle points
- Integration
- Matrix calculus
- Automatic differentiation
- Ordinary differential equations ODEs
- Stochastic differential equations SDEs
Probability
- Fundamentals of probability
- Joint, marginal, and conditional probability
- Independent and dependent events
- Bayes' theorem
- Random variables
- PMF, PDF, and CDF
- Expectation, variance, and standard deviation
- Covariance and correlation
- Bernoulli and binomial distributions
- Categorical and multinomial distributions
- Gaussian distribution
- Multivariate gaussian distribution
- Uniform and poisson distributions
- Law of large numbers
- Central limit theorem
- Markov chains
- Monte carlo methods
- Importance and rejection sampling
Statistics
- Descriptive and inferential statistics
- Mean, median, mode, and percentiles
- Population, sampling, and estimation
- Bias and variance of estimators
- Likelihood and log likelihood
- Maximum likelihood estimation MLE
- Maximum a posteriori estimation MAP
- Bayesian vs frequentist statistics
- Confidence intervals
- Hypothesis testing and p values
- Z-test, t-test, and chi-square test
- Bootstrapping
- A/B testing and statistical significance
Mathematics of learning
0 of 39 done
Information theory
- Self information and surprisal
- Shannon entropy
- Joint and conditional entropy
- Cross entropy
- KL divergence
- Jensen shannon divergence
- Mutual information
- Information gain
- Perplexity
- Jensen's inequality
- InfoNCE loss
- Evidence lower bound ELBO
- Wasserstein distance
Mathematical optimization
- Objective, loss, and cost functions
- Convex and non convex optimization
- Gradient descent
- Stochastic and mini batch gradient descent
- Learning rate and convergence
- Momentum and Nesterov momentum
- AdaGrad
- RMSProp
- Adam optimizer
- AdamW optimizer
- Learning rate scheduling and warmup
- Newton's method
- Lagrange multipliers
- Constrained optimization and KKT conditions
- L1 and L2 regularization
- Gradient clipping
Numerical mathematics
- Floating point representation
- Floating point precision and rounding errors
- Overflow and underflow
- Numerical stability
- LogSumExp and numerically stable Softmax
- Numerical differentiation and gradient checking
- Matrix conditioning
- Vectorization and broadcasting
- FP32, FP16, BF16, and FP8
- Mixed precision computation
Classical machine learning
0 of 51 done
ML fundamentals
- Supervised unsupervised and semi supervised learning
- Features parameters and hyperparameters
- Empirical risk minimization
- Bias variance trade off
- Underfitting and overfitting
- Generalization and regularization
- Feature scaling and normalization
- Cross validation
- Data leakage
- Curse of dimensionality
Regression algorithms
- Simple linear regression
- Multiple linear regression
- Ordinary least squares and normal equation
- Polynomial regression
- Ridge regression
- Lasso regression
- Elastic net regression
- Bayesian linear regression
Classification algorithms
- Logistic regression
- Multinomial logistic regression
- K nearest neighbors KNN
- Naive bayes
- Linear discriminant analysis LDA
- Support vector machine SVM
- Hard margin and soft margin SVM
- Kernel trick
Decision trees
- Decision tree from scratch
- Entropy and information gain
- Gini impurity
- CART algorithm
- Tree pruning
Ensemble learning
- Bagging
- Random forest
- AdaBoost
- Gradient boosting
- XGBoost
- LightGBM
- CatBoost
- Stacking and voting
Unsupervised learning
- K-Means clustering
- K-Means++
- Hierarchical clustering
- DBSCAN
- Gaussian mixture models GMM
- Expectation maximization EM
- Isolation forest
Dimensionality reduction
- Principal component analysis PCA
- PCA using SVD
- Linear discriminant analysis
- t-SNE
- UMAP
Statistical learning theory
0 of 24 done
Learning theory fundamentals
- Empirical risk vs expected risk
- Generalization theory
- PAC learning
- VC dimension
- Universal approximation theorem
Probabilistic ML
- Bayesian inference
- Prior posterior and evidence
- Bayesian networks
- Hidden markov models HMM
- Gaussian processes
- Bayesian optimization
- Markov chain monte carlo MCMC
- Variational inference
Model evaluation
- Confusion matrix
- Accuracy precision recall and f1 score
- Micro macro and weighted averaging
- ROC AUC and PR AUC
- MAE, MSE, RMSE, and R²
- Silhouette score
- Class imbalance and smote
- Probability calibration
- Feature importance
- SHAP and shapley values
- LIME
Deep learning
0 of 53 done
Neural networks
- Artificial neuron and perceptron
- XOR problem
- Multilayer perceptron MLP
- Forward propagation
- Sigmoid and Tanh
- ReLU and leaky ReLU
- GELU, SiLU, and SwiGLU
- Softmax function
- Neural network loss functions
- Computational graphs
- Backpropagation from first principles
- Vanishing and exploding gradients
- Xavier and he initialization
- Batch normalization
- Layer normalization
- RMS normalization
- Dropout
- Residual connections
- Automatic differentiation engine
Convolutional neural networks CNN
- Images as matrices and tensors
- Convolution operation
- Kernels filters and feature maps
- Padding stride and dilation
- Pooling operations
- Receptive fields
- CNN forward and backward propagation
- AlexNet and VGG
- ResNet
- Depthwise separable convolution
- U net
- Object detection and YOLO
- IoU and non maximum suppression
- Image segmentation
- Dice loss and focal loss
Recurrent neural networks RNN
- Recurrent neural networks
- Backpropagation through time BPTT
- Vanishing gradient in RNNs
- Long short term memory LSTM
- Gated recurrent unit GRU
- Bidirectional RNN
- Encoder decoder architecture
- Sequence to sequence learning
Natural language processing NLP
- Text preprocessing and tokenization
- One hot encoding and bag of words
- TF-IDF
- N gram language models
- Word embeddings
- Word2Vec: CBOW and Skip-gram
- Negative sampling
- GloVe
- Byte pair encoding BPE
- Wordpiece and unigram tokenization
- Autoregressive language modeling
Large language models
0 of 49 done
Attention and transformers
- Limitations of recurrent architectures
- Bahdanau attention
- Query, Key, and Value
- Self attention
- Scaled dot product attention
- Reasoning behind attention scaling
- Multi head attention
- Cross attention
- Causal masking
- Positional encoding
- Rotary positional embeddings RoPE
- Transformer feed forward networks
- Complete transformer architecture
- BERT encoder only
- GPT decoder only
- T5 encoder decoder
- Multi query attention MQA
- Grouped query attention GQA
- Multi head latent attention MLA
- Sliding window attention
- FlashAttention
- Attention time and space complexity
LLM training
- Next token prediction
- Pretraining objective
- Masked language modeling
- Cross entropy loss in LLMs
- Neural scaling laws
- Compute optimal training
- Mixture of experts MoE
- Expert routing and load balancing loss
- Supervised fine tuning SFT
- Parameter efficient fine tuning PEFT
- LoRA
- QLoRA
- Knowledge distillation
- Reward modeling
- RLHF
- Direct preference optimization DPO
- Group relative policy optimization GRPO
LLM prediction and decoding
- Logits and token probabilities
- Greedy decoding
- Beam search
- Temperature sampling
- Top k sampling
- Top p sampling
- Repetition penalty
- Structured and constrained decoding
- Speculative decoding
- Multi token prediction
Advanced AI
0 of 75 done
Representation learning
- Embeddings and latent spaces
- Metric learning
- Siamese networks
- Contrastive learning
- Triplet loss
- InfoNCE loss
- SimCLR
- DINO and self distillation
- Vision transformer ViT
- Masked autoencoders MAE
Generative AI
- Generative vs discriminative models
- Autoencoders
- Variational autoencoders VAE
- ELBO derivation
- Reparameterization trick
- Vector quantized VAE
- Generative adversarial networks GAN
- GAN minimax objective
- Wasserstein GAN
- Normalizing flows
- Autoregressive generative models
Diffusion models
- Gaussian noise and noise schedules
- Forward diffusion process
- Reverse diffusion process
- Denoising diffusion probabilistic models DDPM
- DDPM training loss derivation
- DDIM
- Score matching
- Score based diffusion models
- SDE formulation of diffusion
- Classifier guidance
- Classifier free guidance CFG
- Latent diffusion models
- Stable diffusion
- Diffusion transformers DiT
- Video diffusion models
Flow matching
- Vector fields
- Ordinary differential equations
- Probability paths
- Continuity equation
- Optimal transport
- Flow matching
- Conditional flow matching
- Rectified flow
- Diffusion vs flow matching
Reinforcement learning RL
- Agent environment state action and reward
- Multi armed bandits
- Markov decision process MDP
- Discounted rewards and returns
- Value and action value functions
- Bellman equation
- Policy iteration and value iteration
- Monte carlo methods
- Temporal difference learning
- SARSA
- Q learning
- Deep q network DQN
- Experience replay
- Policy gradient theorem
- REINFORCE
- Actor critic
- Advantage function and GAE
- Proximal policy optimization PPO
- Soft actor critic SAC
- Reinforcement learning for LLMs
Multimodal models
- Multimodal representations
- Image and text embeddings
- Dual encoder architecture
- CLIP
- SigLIP
- Cross modal attention
- Multimodal fusion
- Vision language projectors
- Vision language models VLM
- Multimodal transformers
Inference engineering
0 of 73 done
Quantization
- Quantization from first principles
- Symmetric and asymmetric quantization
- Scale and zero point
- Quantization error
- Per-tensor, per-channel, and group-wise quantization
- INT8 and INT4 quantization
- FP8 and NF4
- Post training quantization PTQ
- Quantization aware training QAT
- Straight through estimator
- Hessian based quantization
- GPTQ
- AWQ
- SmoothQuant
- Model pruning and sparsity
LLM inference optimization
- Model parameters and FLOPs calculation
- Model memory estimation
- GPU memory hierarchy
- Arithmetic intensity
- Roofline model
- Compute bound vs memory bound operations
- Prefill and decode
- KV cache mathematics
- Prefix caching
- PagedAttention
- Continuous batching
- FlashAttention and online Softmax
- Speculative decoding mathematical proof
- Draft model acceptance rate and expected speedup
- Tensor parallelism
- Pipeline parallelism
- Data and expert parallelism
- Throughput, latency, TTFT, and TPOT
Retrieval
- Information retrieval fundamentals
- Sparse and dense retrieval
- BM25
- Dual encoder retrieval
- Hybrid retrieval
- Reciprocal rank fusion RRF
- Cross encoder reranking
- Learning to rank
Retrieval augmented generation RAG
- Mathematical formulation of RAG
- Document chunking strategies
- Embedding based retrieval
- Context selection and ranking
- Query rewriting and expansion
- Retrieval and generation probability
- RAG evaluation
Vector search
- High dimensional vector spaces
- Distance and similarity metrics
- Exact nearest neighbor search
- Approximate nearest neighbor ANN
- Locality sensitive hashing LSH
- Inverted file index IVF
- Product quantization PQ
- Hierarchical navigable small world HNSW
- FAISS indexing algorithms
- Recall latency and memory trade offs
Evaluation
- BLEU ROUGE and BERTScore
- Perplexity
- Pass@K
- Precision@K and Recall@K
- MRR, MAP, and NDCG
- CLIPScore
- Frechet inception distance FID
- Frechet video distance FVD
- LLM as a judge
- Pairwise evaluation and bradley terry model
- Cohen's Kappa and inter-rater agreement
- Agent and tool call evaluation
- Multi turn conversation evaluation
- Statistical significance and benchmark reliability
- Quality latency and cost trade offs