Data, Analytics & AI

Articles about data, analytics, and AI, including machine learning, data visualization, and AI applications.

702 items · Page 10 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 & AILanguage AI HandbookMachine Learning

GPT-1: Generative Pretraining for Language Understanding

Jul 20, 2025·68 min read

GPT-1 paired generative pretraining with task-specific fine-tuning. Covers its architecture, objective, benchmark results, and role in transfer learning.

Open notebook
Data, Analytics & AISoftware EngineeringMachine Learning

Simulating stock market returns using Monte Carlo

Jul 19, 2025·13 min read

Use Monte Carlo simulation to model and analyze stock market returns, estimate future performance.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

GPT-3: Scale, Few-Shot and In-Context Learning

Jul 19, 2025·93 min read

Examines GPT-3's 175B parameter architecture, the emergence of few-shot learning, in-context learning mechanisms.

Open notebook
History of Language AIMachine LearningData, Analytics & AI

BLOOM: Open-Access Multilingual Language Model

Jul 19, 2025·6 min read

Covers BLOOM, the BigScience collaboration's 176-billion-parameter open-access multilingual language model released in 2022.

Open notebook
AI Agent HandbookMachine LearningData, Analytics & AISoftware Engineering

Task Decomposition for AI Agents

Jul 19, 2025·13 min read

Explains how AI agents break down complex goals into manageable subtasks. Topics include task decomposition strategies, sequential vs parallel tasks.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

DeBERTa: Disentangled Attention and Enhanced Mask Decoding

Jul 18, 2025·61 min read

Covers DeBERTa's disentangled attention mechanism that separates content and position representations.

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

XGBoost: Extreme Gradient Boosting

Jul 18, 2025·78 min read

Covers XGBoost (eXtreme Gradient Boosting), including second-order Taylor expansion, regularization techniques, split gain optimization, ranking loss functions.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

BERT Pre-training: MLM, NSP & Training Strategies Explained

Jul 17, 2025·42 min read

Covers BERT pre-training covering masked language modeling, next sentence prediction, data preparation, hyperparameters.

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

Scaling Laws for Neural LLMs

Jul 17, 2025·20 min read

Covers the 2020 scaling laws discovered by Kaplan et al. Explains how power-law relationships predict model performance from scale.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

ALBERT: Parameter-Efficient BERT with Factorized Embeddings

Jul 16, 2025·42 min read

Explains how ALBERT reduces BERT's size by 18x using factorized embeddings and cross-layer parameter sharing while maintaining competitive performance.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

RoBERTa: Robustly Optimized BERT Pretraining Approach

Jul 15, 2025·55 min read

Explains how RoBERTa surpassed BERT using the same architecture by removing Next Sentence Prediction, implementing dynamic masking.

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

SHAP (SHapley Additive exPlanations): Model Interpretability

Jul 15, 2025·55 min read

Covers SHAP values covering mathematical foundations, feature attribution, and practical implementations for explaining any machine learning model.

Open notebook
History of Language AIMachine LearningData, Analytics & AI

Chinchilla Scaling Laws: Compute-Optimal Training

Jul 15, 2025·18 min read

Covers the Chinchilla scaling laws introduced in 2022. Explains how compute-optimal training balances model size and training data.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

BERT Architecture: Embeddings, Attention and Encoder Layers

Jul 14, 2025·52 min read

Examines the BERT architecture in detail covering model sizes (Base vs Large), three-layer embedding system, bidirectional attention patterns.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

BERT Contextual Embeddings: Extraction and Use

Jul 13, 2025·53 min read

Covers BERT representation extraction with [CLS] token usage, layer selection strategies, pooling methods, and the frozen vs fine-tuned trade-off.

Open notebook
History of Language AIMachine LearningData, Analytics & AI

Stable Diffusion: Latent Text-to-Image Models

Jul 13, 2025·12 min read

Stable Diffusion generates images in a compressed latent space. Covers text conditioning, the denoising process, training, inference, and model accessibility.

Open notebook
Data, Analytics & AIMachine LearningLanguage AI Handbook

Prefix Language Modeling

Jul 12, 2025·40 min read

Covers prefix LM, the hybrid pretraining objective that enables bidirectional prefix understanding with autoregressive generation.

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

LightGBM: Fast Gradient Boosting

Jul 12, 2025·52 min read

Covers LightGBM gradient boosting framework, including leaf-wise tree growth, histogram-based binning, GOSS sampling, exclusive feature bundling.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

Denoising Objectives: BART's Corruption Strategies for LLMs

Jul 11, 2025·47 min read

Explains how BART trains language models using diverse text corruptions including token deletion, shuffling, sentence permutation.

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

FlashAttention: IO-Aware Attention for Long Contexts

Jul 11, 2025·12 min read

Covers FlashAttention introduced in 2022. Explains how IO-aware attention computation enabled 2-4x speedup and 5-10x memory reduction.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

Replaced Token Detection

Jul 10, 2025·58 min read

Explains how replaced token detection trains language models 4x more efficiently than masked language modeling.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

Span Corruption: T5's Pretraining Objective for Seq2Seq

Jul 9, 2025·51 min read

Explains how span corruption works in T5, including span selection strategies, geometric distributions, sentinel tokens.

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

CatBoost: Categorical Boosting

Jul 9, 2025·42 min read

Covers CatBoost (Categorical Boosting), including categorical feature handling, target statistics, symmetric trees, ordered boosting, regularization techniques.

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

CLIP: Contrastive Pretraining for Vision and Language

Jul 9, 2025·19 min read

Covers OpenAI's CLIP, the early vision-language model that enables zero-shot image classification through contrastive learning.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

Whole Word Masking for BERT Pretraining

Jul 8, 2025·54 min read

Explains how Whole Word Masking improves BERT pre-training by masking complete words instead of subword tokens.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

Masked Language Modeling

Jul 7, 2025·49 min read

Explains how masked language modeling enables bidirectional context understanding. Topics include the MLM objective, 15% masking rate, 80-10-10 strategy.

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

Instruction Tuning for Language Models

Jul 7, 2025·14 min read

Covers instruction tuning introduced in 2021. Explains how fine-tuning on diverse instruction-response pairs changed language models.

Open notebook
AI Agent HandbookMachine LearningData, Analytics & AI

Agent State: Memory, Context and Persistence

Jul 7, 2025·13 min read

Explains what agent state means and why it's essential for building AI agents that can handle complex, multi-step tasks.

Open notebook
Data, Analytics & AIMachine LearningLanguage AI Handbook

Memory Augmentation for Transformers

Jul 6, 2025·51 min read

Explains how memory-augmented transformers extend context beyond attention limits using external key-value stores, retrieval mechanisms.

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

Isolation Forest: Unsupervised Anomaly Detection

Jul 6, 2025·48 min read

Covers Isolation Forest covering unsupervised anomaly detection, path length calculations, harmonic numbers, anomaly scoring.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

Causal Language Modeling: The Foundation of Generative AI

Jul 5, 2025·42 min read

Explains how causal language modeling trains AI to predict the next token. Topics include autoregressive factorization, cross-entropy loss, causal masking.

Open notebook
History of Language AIData, Analytics & AIMachine Learning

Mixture of Experts: Sparse Activation and Routing

Jul 5, 2025·14 min read

Examines how Mixture of Experts (MoE) architectures changed large language model scaling in 2024.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

Recurrent Memory: Extending Transformer Context

Jul 4, 2025·68 min read

Explains how Transformer-XL uses segment-level recurrence to extend effective context length.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Position Interpolation

Jul 3, 2025·49 min read

Explains how Position Interpolation extends transformer context windows by scaling position indices to stay within training distributions.

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

Boosted Trees: Gradient Boosting Algorithm & Implementation

Jul 3, 2025·44 min read

Covers boosted trees and gradient boosting, covering ensemble learning, loss functions, sequential error correction, and scikit-learn implementation.

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

DALL·E 2: Diffusion and CLIP-Guided Image Generation

Jul 3, 2025·14 min read

Covers OpenAI's DALL·E 2, the major text-to-image generation model that combined CLIP-guided diffusion with high-quality image synthesis.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Context Length Challenges

Jul 2, 2025·39 min read

Examines the fundamental barriers limiting transformer context windows, including quadratic memory scaling, position encoding extrapolation failures.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

Attention Sinks and StreamingLLM for Long Generation

Jul 1, 2025·57 min read

Explains why the first tokens in transformer sequences absorb excess attention weight, how this causes streaming inference failures.

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

Codex: AI-Assisted Code Generation

Jul 1, 2025·18 min read

Codex adapted GPT-3 for code completion and generation. Covers its training data, natural-language prompts, benchmark results, and role in developer tools.

Open notebook
AI Agent HandbookMachine LearningData, Analytics & AI

Short-Term Conversation Memory

Jul 1, 2025·15 min read

Give AI agents the ability to remember recent conversations, handle follow-up questions, and manage conversation history across multiple interactions.

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

Random Forest: Ensemble Learning

Jun 30, 2025·43 min read

Covers Random Forest covering ensemble learning, bootstrap sampling, random feature selection, bias-variance tradeoff, and implementation in scikit-learn.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

NTK-aware Scaling: Extending Context Length in LLMs

Jun 29, 2025·57 min read

NTK-aware scaling extends transformer context windows by adjusting rotary frequencies. Covers position preservation, longer sequences, and tradeoffs.

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

DALL·E: Text-to-Image Generation

Jun 29, 2025·12 min read

Covers OpenAI's DALL·E, the early text-to-image generation model that extended transformer architectures to multimodal tasks.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

FlashAttention Implementation

Jun 28, 2025·51 min read

Covers FlashAttention's tiled computation and online softmax algorithms. Topics include GPU memory hierarchy, CUDA kernel basics.

Open notebook
Data, Analytics & AILanguage AI HandbookMachine Learning

FlashAttention Algorithm

Jun 27, 2025·45 min read

Explains how FlashAttention achieves 2-4x speedups by restructuring attention computation. Topics include GPU memory hierarchy, tiling for SRAM.

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

CART Decision Trees: Classification and Regression Trees

Jun 27, 2025·45 min read

Covers CART (Classification and Regression Trees), including mathematical foundations, Gini impurity, variance reduction.

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

GPT-3 and In-Context Learning

Jun 27, 2025·21 min read

GPT-3 showed that scaling autoregressive transformers could enable in-context and few-shot learning. Covers its architecture, data, prompting, and limitations.

Open notebook
Data, Analytics & AIMachine LearningLanguage AI Handbook

YaRN: Extending Context Length

Jun 26, 2025·58 min read

Explains how YaRN extends LLM context length through wavelength-based frequency interpolation and attention temperature correction.

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