Machine Learning

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

712 items · Page 14 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
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Adam Optimizer: Adaptive Learning Rates Explained

Apr 24, 2025·51 min read

Covers Adam optimizer: first and second moment estimates, bias correction, adaptive learning rates, hyperparameter tuning.

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

FrameNet: A Computational Resource for Frame Semantics

Apr 24, 2025·25 min read

In 1998, Charles Fillmore's FrameNet project at ICSI Berkeley released the first large-scale computational resource based on frame semantics.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Momentum: SGD Optimization with Velocity Accumulation

Apr 23, 2025·50 min read

Momentum smooths gradient updates with a velocity term. Covers Polyak momentum, Nesterov acceleration, damped oscillations, and optimization tradeoffs.

Open notebook
Data, Analytics & AIMachine LearningLanguage AI Handbook

Gradient Clipping in Deep Learning

Apr 22, 2025·50 min read

Explains how gradient clipping prevents training instability by capping gradient magnitudes. Topics include clip by value vs clip by norm strategies.

Open notebook
Data, Analytics & AIMachine LearningMachine Learning from Scratch

Sum of Squared Errors (SSE): Measuring Model Performance

Apr 22, 2025·19 min read

Covers the Sum of Squared Errors (SSE) metric in regression analysis. Topics include the mathematical foundation, visualization techniques.

Open notebook
History of Language AIData, Analytics & AIMachine Learning

Chinese Room Argument: Syntax, Semantics and Computation

Apr 22, 2025·22 min read

Examines John Searle's influential 1980 thought experiment challenging strong AI.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Activation Functions for Neural Networks

Apr 21, 2025·50 min read

Covers every major activation function from sigmoid to GELU. Topics include saturation, dying ReLU, gradient flow analysis.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

AdamW: Decoupled Weight Decay for Neural Networks

Apr 20, 2025·45 min read

Covers AdamW by understanding why L2 regularization and weight decay diverge in adaptive optimizers.

Open notebook
History of Language AIData, Analytics & AIMachine Learning

Augmented Transition Networks

Apr 20, 2025·13 min read

Examines William Woods's influential 1970 parsing formalism that extended finite-state machines with registers, recursion, and actions.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Batch Normalization: Stabilizing Deep Network Training

Apr 19, 2025·54 min read

Explains how batch normalization eliminates internal covariate shift by normalizing layer activations.

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

L1 Regularization (LASSO): Math, Examples & Python

Apr 19, 2025·60 min read

Covers L1 regularization (LASSO) in machine learning, covering mathematical foundations, optimization theory, practical implementation.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

Special Tokens: CLS, SEP, PAD, MASK, and UNK in Transformers

Apr 18, 2025·57 min read

Explains how special tokens like [CLS], [SEP], [PAD], [MASK], and [UNK] structure transformer inputs, enable classification, handle padding.

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

Latent Semantic Analysis and Topic Models

Apr 18, 2025·21 min read

Latent Semantic Analysis uses matrix factorization to uncover hidden relationships between terms and documents for retrieval, clustering, and topic discovery.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

Tokenization Challenges: Numbers, Code, Multilingual

Apr 17, 2025·61 min read

Covers where subword tokenizers fail: number fragmentation, code identifier splitting, multilingual fertility gaps, emoji edge cases.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

Part-of-Speech Tagging: Tag Sets, Algorithms, Implementation

Apr 16, 2025·64 min read

Covers POS tagging from tag sets to statistical taggers. Topics include Penn Treebank, Universal Dependencies, emission and transition probabilities.

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

Multiple Linear Regression: Formulas, Examples & Python

Apr 16, 2025·41 min read

Multiple linear regression estimates how several predictors relate to an outcome. Covers OLS formulas, assumptions, interpretation, diagnostics, and Python.

Open notebook
History of Language AIData, Analytics & AIMachine Learning

Conceptual Dependency

Apr 16, 2025·19 min read

Conceptual Dependency maps sentences to primitive actions and roles. Covers Roger Schank's theory, semantic equivalence, inference, and question answering.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

Named Entity Recognition: Types, BIO Tagging & Evaluation

Apr 15, 2025·60 min read

Explains how NER identifies people, organizations, and locations using BIO sequence labeling. Topics include entity types, boundary detection, nested entities.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

SentencePiece: Subword Tokenization with BPE and Unigram

Apr 14, 2025·44 min read

SentencePiece trains BPE and unigram tokenizers directly on raw text. Covers whitespace handling, multilingual vocabularies, and model training.

Open notebook
History of Language AIData, Analytics & AIMachine Learning

Viterbi Algorithm: Dynamic Programming Foundation

Apr 14, 2025·21 min read

Andrew Viterbi's 1967 dynamic programming algorithm finds the most likely hidden-state sequence, with applications in HMMs, tagging, and speech recognition.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

Tokenizer Training with Hugging Face

Apr 13, 2025·53 min read

Train custom tokenizers with HuggingFace, covering corpus preparation, vocabulary sizing, algorithm selection, saving, versioning.

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

Multicollinearity in Regression: Detection, Impact

Apr 13, 2025·41 min read

Covers multicollinearity in regression analysis with this practical guide. VIF analysis, correlation matrices, coefficient stability testing.

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

BIO Tagging for Named Entity Recognition

Apr 12, 2025·55 min read

Covers the BIO tagging scheme for named entity recognition, including BIOES variants, span-to-tag conversion, decoding.

Open notebook
Data, Analytics & AIMachine LearningHistory of Language AI

Georgetown-IBM Machine Translation Demonstration

Apr 12, 2025·16 min read

The 1954 Georgetown-IBM demonstration marked an important moment in computational linguistics.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Byte Pair Encoding: Subword Tokenization

Apr 11, 2025·46 min read

Covers Byte Pair Encoding (BPE), the subword tokenization algorithm powering GPT and modern LLMs. Explains how BPE builds a vocabulary.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

GloVe: Word Embeddings via Co-Occurrence Matrix

Apr 10, 2025·47 min read

Explains how GloVe derives word embeddings from co-occurrence ratios, derives the weighted least squares objective.

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

Ordinary Least Squares (OLS): Math Formulas, Examples

Apr 10, 2025·33 min read

Covers Ordinary Least Squares (OLS) regression, including mathematical derivations, matrix formulations, step-by-step examples, and Python implementation.

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

BM25: Probabilistic Ranking for Search

Apr 10, 2025·12 min read

Covers BM25, the major probabilistic ranking algorithm that changed information retrieval. Explains how BM25 solved TF-IDF's limitations.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

FastText: Subword Embeddings, Character N-grams

Apr 9, 2025·51 min read

Explains how FastText extends Word2Vec with character n-grams to handle out-of-vocabulary words, typos.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

Embedding Evaluation: Intrinsic and Extrinsic Methods

Apr 8, 2025·54 min read

Evaluate word embeddings using similarity benchmarks, analogy tests, t-SNE visualization, downstream tasks, and bias detection with WEAT.

Open notebook
History of Language AIMachine LearningData, Analytics & AI

Montague Semantics and Compositional Meaning

Apr 8, 2025·27 min read

Traces Richard Montague's major framework for formal natural language semantics. Explains how Montague Grammar introduced compositionality, intensional logic.

Open notebook
Data, Analytics & AIMachine LearningLanguage AI Handbook

Word2Vec Training: Gensim and PyTorch Pipeline

Apr 7, 2025·50 min read

Covers Word2Vec training pipeline: subsampling, learning rate scheduling, minibatch training, convergence monitoring.

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

Simple Linear Regression: Formulas, Examples & Python

Apr 7, 2025·48 min read

Simple linear regression models the relationship between one predictor and an outcome. Covers OLS formulas, assumptions, interpretation, and Python.

Open notebook
Data, Analytics & AIMachine LearningLanguage AI Handbook

Hierarchical Softmax

Apr 6, 2025·53 min read

Explains how hierarchical softmax reduces word embedding training from O(V) to O(log V) using Huffman-coded binary trees, path probabilities.

Open notebook
History of Language AIData, Analytics & AIMachine Learning

Lesk Algorithm for Word Sense Disambiguation

Apr 6, 2025·22 min read

Michael Lesk's 1983 algorithm resolves word senses by comparing dictionary definitions with surrounding context. Covers the method, code, and limitations.

Open notebook
Data, Analytics & AIMachine LearningLanguage AI Handbook

Word Analogy: Vector Arithmetic and Semantic Relationships

Apr 5, 2025·49 min read

Explains how word embeddings solve analogies via vector arithmetic, covering the parallelogram model, 3CosAdd and 3CosMul methods, evaluation datasets.

Open notebook
Data, Analytics & AIMachine LearningLanguage AI Handbook

Negative Sampling: Efficient Word2Vec Training

Apr 4, 2025·47 min read

Explains how negative sampling reduces Word2Vec training from O(V) to O(k), covering the binary classification objective, unigram^0.75 sampling distribution.

Open notebook
Data, Analytics & AIMachine LearningMachine Learning from Scratch

R-squared (Coefficient of Determination): Formula, Intuition

Apr 4, 2025·7 min read

Covers R-squared, the coefficient of determination. Explains what R-squared means, how to calculate it, interpret its value.

Open notebook
History of Language AIMachine LearningData, Analytics & AI

Vector Space Model & TF-IDF: Foundation of Modern Search

Apr 4, 2025·14 min read

Explains how Gerard Salton's Vector Space Model and TF-IDF weighting changed information retrieval in 1968.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

CBOW Model: Architecture, Gradients, Word Embedding Training

Apr 3, 2025·52 min read

Examines the CBOW Word2Vec architecture covering context averaging, the objective function, gradient derivation, training dynamics.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Skip-gram Model: Word2Vec Architecture and Word Embeddings

Apr 2, 2025·41 min read

Explains how the Skip-gram model trains a neural network to predict context words and learns dense word embeddings.

Open notebook
History of Language AIData, Analytics & AIMachine Learning

Chomsky's Syntactic Structures

Apr 2, 2025·21 min read

Examines Noam Chomsky's early 1957 work "Syntactic Structures" that changed linguistics, challenged behaviorism.

Open notebook
Data, Analytics & AIMachine LearningLanguage AI Handbook

Singular Value Decomposition: SVD, LSA, and Word Embeddings

Apr 1, 2025·52 min read

Explains how Singular Value Decomposition compresses sparse co-occurrence matrices into dense word embeddings through Latent Semantic Analysis.

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

Generalized Linear Models: Math & Python

Apr 1, 2025·55 min read

Generalized linear models combine link functions with probability distributions. Covers logistic and Poisson regression, maximum likelihood, and Python.

Open notebook
Language AI HandbookMachine LearningData, Analytics & AI

Pointwise Mutual Information: Word Associations in NLP

Mar 31, 2025·48 min read

Explains how PMI and PPMI transform raw co-occurrence counts into normalized word association scores.

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

BLEU Metric: Automatic Evaluation for Machine Translation

Mar 31, 2025·23 min read

In 2002, IBM researchers introduced BLEU (Bilingual Evaluation Understudy), revolutionizing machine translation evaluation.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Term Frequency: Weighting Schemes for Text Analysis

Mar 30, 2025·46 min read

Examines raw, log-scaled, boolean, augmented, and L2-normalized term frequency variants, with sparsity analysis and efficient computation using scikit-learn.

Open notebook
Language AI HandbookMachine LearningData, Analytics & AI

The Distributional Hypothesis: Word Meaning from Context

Mar 29, 2025·46 min read

Explains how Firth's principle that words are known by their company underpins distributional semantics.

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