← Back to AI Math Mind Map
📐 AI MathID: distributions

Common Distributions

常用分布族
🎯Core Definition
Common distribution families with parameter-mean-variance table: ① Normal N(μ,σ2)\mathcal{N}(\mu,\sigma^2): pdf f(x)=12πσ2e−(x−μ)22σ2f(x) = \frac{1}{\sqrt{2\pi\sigma^2}}e^{-\frac{(x-\mu)^2}{2\sigma^2}}, mean μ\mu, variance σ2\sigma^2;② Bernoulli Bern(p)\text{Bern}(p): P(X=1)=pP(X=1) = p, mean pp, variance p(1−p)p(1-p);③ Binomial Bin(n,p)\text{Bin}(n,p): P(X=k)=(nk)pk(1−p)n−kP(X=k) = \binom{n}{k}p^k(1-p)^{n-k}, mean npnp, variance np(1−p)np(1-p);④ Poisson Poisson(λ)\text{Poisson}(\lambda): P(X=k)=λke−λk!P(X=k) = \frac{\lambda^k e^{-\lambda}}{k!}, mean λ\lambda, variance λ\lambda;⑤ Exponential Exp(λ)\text{Exp}(\lambda): pdf f(x)=λe−λxf(x) = \lambda e^{-\lambda x}, mean 1/λ1/\lambda, variance 1/λ21/\lambda^2.
💡Use Cases
pick the likelihood and output layer from the data generating process — Bernoulli (cross-entropy) for binary classification, Normal (MSE) for regression, Poisson for counts, Exponential for waiting times; interviews often open with "choose a distribution for this data and write the likelihood".
⚡Key Problems Solved
a mismatched distribution assumption systematically corrupts likelihoods and variance estimates — Poisson requires mean = variance, so over-dispersed count data needs the negative binomial; the memoryless Exponential is the right model for waiting times without decay memory. Three relations form the skeleton: Binomial is a sum of nn independent Bernoullis, Poisson is its n→∞n \to \infty, p→0p \to 0, np=λnp = \lambda limit, and Normal is the large-nn limit of both (CLT).
🎯Core Interview Exam Points
Fundamentals · Production Scenarios · Deep Dive
Core Def
Explain the core definition, underlying mechanism/math, and key principles of Common Distributions.
Use Cases
In production engineering, what are the primary use cases for Common Distributions and what core pain points does it solve?
🔥 High-Frequency Deep-Dive Questions
1
Write the parameters, mean and variance of Normal, Bernoulli, Binomial, Poisson and Exponential?
2
Relations among Binomial, Poisson and Normal (limits and approximations)?
3
What is the memoryless property of the Exponential? How does it model waiting times?
4
Why Bernoulli (cross-entropy) for classification and Normal (MSE) for regression — from the likelihood perspective?
5
Poisson has mean = variance; what do you do with over-dispersed count data?
Updated 2026-08-12
🎯
Verify Mastery: Practice Exam Questions for "Common Distributions"
Take pitfall multiple-choice questions with derivation options; mistakes are automatically logged.
🚀 Start Card Practice ➔
← Previous CardProbability Axioms & BayesNext Card →Entropy, KL & Cross-Entropy

🔗 More AI Math Knowledge Cards

引用出处: TalentMe 450+ 工业级 AI 架构考点知识库 (Tech Vault) · 遵循 CC-BY-4.0 知识共享协议
URL: https://talentme.airsota.com/resources/tech/roadmap/mindmap/Math/card/distributions
中文速览与面试要点

常用分布族 (Common Distributions)

定义: 常用分布族及其参数-期望-方差表: ① 正态 N( , ^2):密度 f(x) = 1 2 ^2e^- (x- )^22 ^2,期望 ,方差 ^2;② 伯努利 Bern(p):P(X=1) = p,期望 p,方差 p(1-p);③ 二项 Bin(n,p):P(X=k) = nkp^k(1-p)^n-k,期望 np,方差 np(1-p);④ 泊松 Poisson( ):P(X=k) = ^k e^- k!,期望 ,方差 ;⑤ 指数 Exp( ):密度 f(x) = e^- x,期望 1/ ,方差 1/ ^2。 使用场景: 按数据生成过程选似然函数与输出层 — 二分类→伯努利(交叉熵),回归→正态(MSE),计数→泊松,等待时间→指数;面试常以“给数据选分布并写出似然”开题,分布表需背熟。 解决的问题: 分布假设不匹配会让似然与方差估计系统性出错 — 泊松要求均值=方差,计数数据过离散 (over-dispersion) 时应改用负二项;指数分布的无记忆性使其适合建模无衰变记忆的等待时间。三大关系构成骨架:二项是 n 个独立伯努利之和,泊松是 n 、p 0、np = 时二项的极限,正态又是 n 较大时泊松与二项的极限(CLT)。

核心要点

  • 写出正态、伯努利、二项、泊松、指数分布的参数、期望与方差表?
  • 二项、泊松、正态三者之间有什么关系(极限与逼近)?
  • 指数分布的无记忆性是什么?如何用它建模等待时间?
  • 为什么二分类用伯努利(交叉熵)损失、回归用正态(MSE)损失?从似然角度解释。
  • 泊松分布均值等于方差;遇到过离散 (over-dispersion) 的计数数据该怎么办?