Files
2025-12-16 09:23:53 +08:00

94 lines
3.4 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"cells": [
{
"cell_type": "markdown",
"id": "26b7e5a4",
"metadata": {
"origin_pos": 0
},
"source": [
"# 符号\n",
":label:`chap_notation`\n",
"\n",
"本书中使用的符号概述如下。\n",
"\n",
"## 数字\n",
"\n",
"* $x$:标量\n",
"* $\\mathbf{x}$:向量\n",
"* $\\mathbf{X}$:矩阵\n",
"* $\\mathsf{X}$:张量\n",
"* $\\mathbf{I}$:单位矩阵\n",
"* $x_i$, $[\\mathbf{x}]_i$:向量$\\mathbf{x}$第$i$个元素\n",
"* $x_{ij}$, $[\\mathbf{X}]_{ij}$:矩阵$\\mathbf{X}$第$i$行第$j$列的元素\n",
"\n",
"## 集合论\n",
"\n",
"* $\\mathcal{X}$: 集合\n",
"* $\\mathbb{Z}$: 整数集合\n",
"* $\\mathbb{R}$: 实数集合\n",
"* $\\mathbb{R}^n$: $n$维实数向量集合\n",
"* $\\mathbb{R}^{a\\times b}$: 包含$a$行和$b$列的实数矩阵集合\n",
"* $\\mathcal{A}\\cup\\mathcal{B}$: 集合$\\mathcal{A}$和$\\mathcal{B}$的并集\n",
"* $\\mathcal{A}\\cap\\mathcal{B}$:集合$\\mathcal{A}$和$\\mathcal{B}$的交集\n",
"* $\\mathcal{A}\\setminus\\mathcal{B}$:集合$\\mathcal{A}$与集合$\\mathcal{B}$相减,$\\mathcal{B}$关于$\\mathcal{A}$的相对补集\n",
"\n",
"## 函数和运算符\n",
"\n",
"* $f(\\cdot)$:函数\n",
"* $\\log(\\cdot)$:自然对数\n",
"* $\\exp(\\cdot)$: 指数函数\n",
"* $\\mathbf{1}_\\mathcal{X}$: 指示函数\n",
"* $\\mathbf{(\\cdot)}^\\top$: 向量或矩阵的转置\n",
"* $\\mathbf{X}^{-1}$: 矩阵的逆\n",
"* $\\odot$: 按元素相乘\n",
"* $[\\cdot, \\cdot]$:连结\n",
"* $\\lvert \\mathcal{X} \\rvert$:集合的基数\n",
"* $\\|\\cdot\\|_p$: $L_p$ 正则\n",
"* $\\|\\cdot\\|$: $L_2$ 正则\n",
"* $\\langle \\mathbf{x}, \\mathbf{y} \\rangle$:向量$\\mathbf{x}$和$\\mathbf{y}$的点积\n",
"* $\\sum$: 连加\n",
"* $\\prod$: 连乘\n",
"* $\\stackrel{\\mathrm{def}}{=}$:定义\n",
"\n",
"## 微积分\n",
"\n",
"* $\\frac{dy}{dx}$$y$关于$x$的导数\n",
"* $\\frac{\\partial y}{\\partial x}$$y$关于$x$的偏导数\n",
"* $\\nabla_{\\mathbf{x}} y$$y$关于$\\mathbf{x}$的梯度\n",
"* $\\int_a^b f(x) \\;dx$: $f$在$a$到$b$区间上关于$x$的定积分\n",
"* $\\int f(x) \\;dx$: $f$关于$x$的不定积分\n",
"\n",
"## 概率与信息论\n",
"\n",
"* $P(\\cdot)$:概率分布\n",
"* $z \\sim P$: 随机变量$z$具有概率分布$P$\n",
"* $P(X \\mid Y)$$X\\mid Y$的条件概率\n",
"* $p(x)$: 概率密度函数\n",
"* ${E}_{x} [f(x)]$: 函数$f$对$x$的数学期望\n",
"* $X \\perp Y$: 随机变量$X$和$Y$是独立的\n",
"* $X \\perp Y \\mid Z$: 随机变量$X$和$Y$在给定随机变量$Z$的条件下是独立的\n",
"* $\\mathrm{Var}(X)$: 随机变量$X$的方差\n",
"* $\\sigma_X$: 随机变量$X$的标准差\n",
"* $\\mathrm{Cov}(X, Y)$: 随机变量$X$和$Y$的协方差\n",
"* $\\rho(X, Y)$: 随机变量$X$和$Y$的相关性\n",
"* $H(X)$: 随机变量$X$的熵\n",
"* $D_{\\mathrm{KL}}(P\\|Q)$: $P$和$Q$的KL-散度\n",
"\n",
"## 复杂度\n",
"\n",
"* $\\mathcal{O}$:大O标记\n",
"\n",
"[Discussions](https://discuss.d2l.ai/t/2089)\n"
]
}
],
"metadata": {
"language_info": {
"name": "python"
},
"required_libs": []
},
"nbformat": 4,
"nbformat_minor": 5
}