Machine Learning

Articles about traditional machine learning, optimization, bayesian methods, and other machine learning topics.

712 items · Page 13 of 15

Community

Learn with the community

Create a free account to keep your reading organized, join thoughtful discussions, and get more from every chapter.

  • Keep your place across books and articles
  • Ask questions and take part in discussions
  • Read with fewer interruptions

Free to join · Takes less than a minute

Why

I created this space so readers can learn together, ask questions, and make sense of difficult ideas.

Michael Brenndoerfer
From readers1 / 12
Machine Learningnatural-language-processingHistory of Language AIneural-networks

Memory Networks: External Memory for Neural QA

May 22, 2025·21 min read

Covers Memory Networks, the 2014 advance that introduced external memory to neural networks.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Teacher Forcing: Training Seq2Seq with Ground Truth Context

May 21, 2025·45 min read

Teacher forcing trains sequence-to-sequence models with ground-truth context. Covers exposure bias, scheduled sampling, and alternatives based on REINFORCE.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Bidirectional RNNs: Full-Sequence Context for NLP

May 20, 2025·50 min read

Explains how bidirectional LSTMs and GRUs provide full-sequence context by processing text forward and backward, enabling strong sequence labeling.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningHistory of Language AI

Neural Search: Semantic Search with Deep Learning

May 20, 2025·21 min read

Covers neural information retrieval, the advance approach that learned semantic representations for queries and documents.

Open notebook
Data, Analytics & AIMachine LearningLanguage AI Handbook

Bahdanau Attention: Dynamic Context for NMT

May 19, 2025·51 min read

Explains how Bahdanau attention solves the encoder-decoder bottleneck with dynamic context vectors, softmax alignment.

Open notebook
Data, Analytics & AIMachine LearningMachine Learning from Scratch

Normalization: Feature Scaling with Min-Max Implementation

May 19, 2025·14 min read

Covers normalization in machine learning, covering min-max scaling, proper train-test split implementation, when to use normalization vs standardization.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Luong Attention: Dot Product, General & Local Mechanisms

May 18, 2025·43 min read

Examines Luong attention variants including dot product, general, and concat scoring. Topics include global vs local attention, input-feeding.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningHistory of Language AI

Layer Normalization for Sequence Models

May 18, 2025·13 min read

Covers layer normalization, the normalization technique that computes statistics across features for each example.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learningdeep-learningnatural-language-processing

Copy Mechanism: Pointer Networks for Neural Text Generation

May 17, 2025·60 min read

Explains how copy mechanisms enable seq2seq models to handle out-of-vocabulary words.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Attention Mechanism Intuition: Soft Lookup, Weights

May 16, 2025·56 min read

Explains how attention mechanisms solve the encoder-decoder bottleneck through soft lookup, alignment scores, and dynamic context vectors built step by step.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningHistory of Language AI

Word2Vec: Neural Word Embeddings and Vector Semantics

May 16, 2025·22 min read

Covers word2vec, the advance method for learning dense vector representations of words.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Encoder-Decoder Framework

May 15, 2025·56 min read

Covers the encoder-decoder framework for sequence-to-sequence learning. Topics include context vectors, teacher forcing, BLEU evaluation.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

GRU Architecture: Streamlined Gating for Sequence Modeling

May 14, 2025·48 min read

Gated Recurrent Units use reset and update gates to manage sequence memory. Covers GRU equations, implementation, gradient flow, and comparison with LSTMs.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningHistory of Language AI

SQuAD: Reading Comprehension Benchmark

May 14, 2025·16 min read

Covers SQuAD (Stanford Question Answering Dataset), the benchmark that established reading comprehension as a flagship NLP task.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Stacked RNNs and Hierarchical Modeling

May 13, 2025·41 min read

Stacked RNNs build hierarchical representations across recurrent layers. Covers depth-width tradeoffs, variational dropout, ELMo, and practical depth limits.

Open notebook
Data, Analytics & AIMachine Learning from ScratchMachine Learning

Probability Distributions: Normal, Binomial, Poisson

May 13, 2025·18 min read

Covers probability distributions for data science, including normal, t-distribution, binomial, Poisson, exponential, and log-normal distributions.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

LSTM Gradient Flow: Constant Error Carousel Explained

May 12, 2025·52 min read

How LSTMs solve the vanishing gradient problem through the cell state gradient highway, forget gate modulation, and the residual connection analogy.

Open notebook
Data, Analytics & AIMachine LearningLLM and GenAIHistory of Language AI

WaveNet: Neural Audio Generation Revolution

May 12, 2025·16 min read

DeepMind's WaveNet changed text-to-speech synthesis in 2016 by generating raw audio waveforms directly using neural networks.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

LSTM Architecture: Cell State, Gates, and Memory

May 11, 2025·55 min read

Covers LSTM architecture including cell state, gate mechanisms, and information flow. Explains how LSTMs solve vanishing gradients.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Backpropagation Through Time: RNN Training Algorithm

May 10, 2025·52 min read

Explains how BPTT unrolls RNNs for gradient computation, derives the chain rule through time, and implements truncated BPTT with detach() in PyTorch.

Open notebook
Data, Analytics & AIMachine Learning from ScratchMachine Learning

Statistical Inference

May 10, 2025·25 min read

Covers statistical inference, including point and interval estimation, confidence intervals, hypothesis testing, p-values, Type I and Type II errors.

Open notebook
History of Language AIData, Analytics & AIMachine Learning

IBM Watson on Jeopardy!

May 10, 2025·11 min read

Examines IBM Watson's historic victory on Jeopardy! in February 2011, examining the system's architecture, multi-hypothesis answer generation.

Open notebook
Data, Analytics & AIMachine LearningLanguage AI Handbook

LSTM Gate Equations: Math NumPy Implementation

May 9, 2025·40 min read

Covers mathematics behind LSTM gates including forget, input, output gates, and cell state updates.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Vanishing Gradients: Why RNNs Fail on Long Sequences

May 8, 2025·45 min read

Explains why gradient magnitudes collapse exponentially in RNNs, making long-range dependencies impossible to learn without architectural changes like LSTMs.

Open notebook
Data, Analytics & AIMachine LearningHistory of Language AI

Freebase: Collaborative Knowledge Graph

May 8, 2025·19 min read

Freebase introduced a collaborative knowledge graph for representing entities and relationships. Covers its schema, community editing, applications, and legacy.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

RNN Architecture and Hidden-State Memory

May 7, 2025·55 min read

Covers RNN architecture from Elman equations to hidden state memory. Topics include parameter sharing, unrolling, sequence modeling patterns.

Open notebook
Data, Analytics & AIMachine LearningMachine Learning from Scratch

Descriptive Statistics with Python

May 7, 2025·26 min read

Covers descriptive statistics fundamentals, including measures of central tendency (mean, median, mode), variability (variance, standard deviation, IQR).

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Backpropagation: Chain Rule, Gradient Flow, and Autograd

May 6, 2025·58 min read

Covers backpropagation from computational graphs to PyTorch autograd. Topics include chain rule derivation, gradient flow through activations.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningHistory of Language AI

Latent Dirichlet Allocation

May 6, 2025·20 min read

Covers Latent Dirichlet Allocation (LDA), the advance Bayesian probabilistic model that changed topic modeling.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Chunking: Shallow Parsing for Phrase Identification in NLP

May 5, 2025·41 min read

Covers chunking (shallow parsing) to identify noun phrases, verb phrases, and prepositional phrases using IOB tagging, regex patterns.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

Hidden Markov Models

May 4, 2025·49 min read

Explains how Hidden Markov Models use transition and emission probabilities to solve sequence labeling tasks like POS tagging, with Python implementation.

Open notebook
History of Language AIData, Analytics & AIMachine Learning

Neural Probabilistic LLM: Distributed Word Representations

May 4, 2025·12 min read

Examines Yoshua Bengio's early 2003 Neural Probabilistic Language Model that changed NLP by learning dense, continuous word embeddings.

Open notebook
Data, Analytics & AIMachine LearningLanguage AI Handbook

Conditional Random Fields: Sequence Labeling NLP

May 3, 2025·58 min read

Covers CRFs for sequence labeling, from log-linear models to feature functions and the forward algorithm.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Morphological Analysis and Generation

May 3, 2025·46 min read

Explains how finite-state transducers and neural sequence-to-sequence models perform morphological analysis and generation.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Morphology and Word Formation: Morphemes, Inflection

May 2, 2025·37 min read

Explains how words decompose into morphemes, why inflection and derivation differ, and how morphology explains NLP sparsity, OOV rates, and tokenizer failures.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Loss Functions: Cross-Entropy, Focal Loss & More

May 2, 2025·56 min read

Covers neural network loss functions covering MSE, cross-entropy, label smoothing, focal loss, KL divergence, and contrastive losses for NLP tasks.

Open notebook
Data, Analytics & AIMachine LearningLLM and GenAIHistory of Language AI

PropBank: Semantic Role Labeling and Proposition Bank

May 2, 2025·20 min read

In 2005, the PropBank project at the University of Pennsylvania added semantic role labels to the Penn Treebank.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

CRF Training: Forward-Backward Algorithm

May 1, 2025·56 min read

Covers Conditional Random Field training with the forward-backward algorithm, gradient computation, and L-BFGS optimization for sequence labeling tasks.

Open notebook
Data, Analytics & AIMachine LearningMachine Learning from Scratch

Probability Basics for Statistical Reasoning

May 1, 2025·46 min read

Covers probability theory fundamentals, covering random variables, probability distributions, expected value and variance.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Stochastic Gradient Descent: Mini-Batches, LR Schedules

Apr 30, 2025·40 min read

Covers SGD for training neural networks: mini-batch updates, learning rate selection, cosine annealing, warmup, Nesterov momentum, and loss landscape geometry.

Open notebook
History of Language AIData, Analytics & AIMachine Learning

Statistical Parsers: From Rules to Probabilistic Models

Apr 30, 2025·18 min read

Traces statistical parsing's major shift from rule-based to data-driven approaches. Explains how Michael Collins's 1997 parser.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Multilayer Perceptrons: Architecture, Forward Pass & PyTorch

Apr 29, 2025·40 min read

Explains how MLPs stack layers to solve problems no linear model can. Topics include hidden layers, weight matrices, forward pass, universal approximation.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Linear Classifiers and Logistic Regression

Apr 28, 2025·53 min read

Covers linear classifiers, from weighted dot products and decision boundary geometry to softmax for multiclass problems, gradient descent training.

Open notebook
Data, Analytics & AIMachine LearningMachine Learning from Scratch

Data Types: Quantitative, Qualitative and Measurement Scales

Apr 28, 2025·19 min read

Classify data as quantitative or qualitative, discrete or continuous, and nominal, ordinal, interval, or ratio. Match each type to suitable analysis methods.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Dropout: Neural Network Regularization

Apr 27, 2025·55 min read

Covers dropout regularization: inverted dropout scaling, MC dropout uncertainty, spatial dropout for sequences, and dropout in transformers.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learningnatural-language-processing

Viterbi Algorithm for Sequence Decoding

Apr 26, 2025·47 min read

Covers Viterbi algorithm for finding optimal tag sequences in HMMs. Topics include dynamic programming, backpointer tracking, log-space computation.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Weight Initialization: Xavier, He & Variance Preservation

Apr 25, 2025·53 min read

Explains why weight initialization matters for training neural networks. Topics include Xavier and He initialization, orthogonal init, BERT and GPT schemes.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningMachine Learning from Scratch

Standardization for Comparable ML Features

Apr 25, 2025·12 min read

Covers standardization in machine learning, covering mathematical foundations, practical implementation.

Open notebook
Community

Learn with the community

Create a free account to keep your reading organized, join thoughtful discussions, and get more from every chapter.

  • Keep your place across books and articles
  • Ask questions and take part in discussions
  • Read with fewer interruptions

Free to join · Takes less than a minute

Why

I created this space so readers can learn together, ask questions, and make sense of difficult ideas.

Michael Brenndoerfer
From readers1 / 12