Software Engineering

Insights on software development, engineering practices, architecture patterns, and the craft of building robust, scalable systems.

440 items · Page 9 of 10

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

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 & AISoftware EngineeringMachine LearningLanguage AI Handbook

Semantic Parsing and Meaning Representations

May 13, 2025·61 min read

Learn how semantic parsing turns language into logical forms, AMR graphs, and executable SQL, with schema linking, constrained generation, and evaluation.

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 & AISoftware EngineeringMachine LearningLanguage AI Handbook

Entity Linking and Knowledge Graph Construction

May 12, 2025·70 min read

Link text mentions to knowledge-base entities, rank candidates with context and document coherence, and build a graph whose assertions retain source evidence.

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

Relation, Event, and Temporal Extraction

May 11, 2025·105 min read

Extract typed relations, structured events, and normalized times from documents. Covers distant supervision, anchoring, interval algebra, and evaluation.

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 & AISoftware EngineeringMachine LearningLanguage AI Handbook

Semantic Roles and Argument Structure

May 10, 2025·78 min read

Explore semantic roles, argument structure, and semantic role labeling. Learn predicates, thematic roles, FrameNet, PropBank, and SRL evaluation with examples.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Sentence Meaning and Natural Language Inference

May 9, 2025·66 min read

Learn how sentence meaning works beyond word counts. Explore entailment, contradiction, neutrality, presupposition, quantifier scope, and robust NLI evaluation.

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 & AISoftware EngineeringMachine LearningLanguage AI Handbook

Lexical Semantics and Word Senses

May 8, 2025·95 min read

Explore lexical semantics, word senses, polysemy, WordNet, and word-sense disambiguation methods, with practical evaluation guidance for language AI systems.

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 & AISoftware EngineeringMachine LearningLanguage AI Handbook

Constituency and Dependency Parsing

May 6, 2025·48 min read

Compare constituency and dependency parsing: CKY charts, Earley, transition-based and graph-based MST decoding, neural arc scoring, and key trade-offs.

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 & AISoftware EngineeringMachine LearningLanguage AI Handbook

Dependency Syntax and Universal Dependencies

May 5, 2025·52 min read

Learn how dependency syntax and Universal Dependencies represent grammatical relations as head-dependent arcs, with projectivity and CoNLL-U tree validation.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Grammars and Constituency Structure

May 4, 2025·46 min read

Learn how context-free grammars formalize constituency, parse trees, and ambiguity, then build a CKY parser and compare trees with PCFG scores.

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 & 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
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 & 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 & 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
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 & 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 & 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
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 & 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 & 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
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 & 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 & 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 & 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
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