✍️
mathematics_basic_for_ML
  • README
  • README
    • Summary
    • Geometry
      • EulerAngle
      • Gimbal lock
      • Quaternion
      • RiemannianManifolds
      • RotationMatrix
      • SphericalHarmonics
    • Information
      • Divergence
      • 信息熵 entropy
    • LinearAlgebra
      • 2D仿射变换(2D Affine Transformation)
      • 2DTransformation
      • 3D变换(3D Transformation)
      • ComplexTransformation
      • Conjugate
      • Hessian
      • IllConditioning
      • 逆变换(Inverse transform)
      • SVD
      • det
      • eigendecomposition
      • 矩阵
      • norm
      • orthogonal
      • special_matrix
      • trace
      • vector
    • Mathematics
      • Complex
      • ExponentialDecay
      • average
      • calculus
      • convex
      • derivative
      • 距离
      • function
      • space
      • Formula
        • euler
        • jensen
        • taylor
        • trigonometric
    • Numbers
      • 几何级数
      • SpecialNumbers
    • NumericalComputation
      • ConstrainedOptimization
      • GradientDescent
      • Newton
      • Nominal
      • ODE_SDE
      • Preprocessing
    • Probability
      • bayes
      • distribution
      • expectation_variance
      • 贝叶斯公式
      • functions
      • likelihood
      • mixture_distribution
      • 一些术语
      • probability_distribution
Powered by GitBook
On this page
  • 常用范数
  • $L^2$范数 (欧几里得范数)
  • 平方$L^2$范数
  • $L^1$范数
  • $L^\infty$范数
  • Frobenius范数

Was this helpful?

  1. README
  2. LinearAlgebra

norm

∣∣x∣∣p=(∑i∣xi∣p)1/p,p∈R,p≥1||x||_p = (\sum_i{|x_i|^p})^{1/p},\quad p \in \Bbb R,\quad p \geq 1∣∣x∣∣p​=(i∑​∣xi​∣p)1/p,p∈R,p≥1

意义: 一个将向量映射到非负值的函数。 衡量从原点到点x 的距离。

性质:

f(x)=0⇒x=0f(x+y)≤f(x)+f(y)∀α∈R,f(αx)=αf(x)\begin{aligned} f(x) = 0 \Rightarrow x = 0 \\ f(x+y) \leq f(x) + f(y) \\ \forall \alpha \in \Bbb R, f(\alpha x) = \alpha f(x) \end{aligned}f(x)=0⇒x=0f(x+y)≤f(x)+f(y)∀α∈R,f(αx)=αf(x)​

常用范数

$L^2$范数 (欧几里得范数)

∣∣x∣∣=∣∣x∣∣2=∑ixi2||x|| = ||x||_2 = \sqrt {\sum_i{x_i}^2}∣∣x∣∣=∣∣x∣∣2​=i∑​xi​2​

意义:原点到x的欧几里得距离

平方$L^2$范数

∑ixi2=xTx\sum_i{x_i}^2 = x^Txi∑​xi​2=xTx

意义:

  1. 对x中每个元素求导只取决于对应的元素

  2. 在原点附近增长十分缓慢(缺点)

$L^1$范数

∣∣x∣∣1=∑i∣xi∣||x||_1 = \sum_i |x_i|∣∣x∣∣1​=i∑​∣xi​∣

意义:

  1. 用于“零和非零元素之间的差异非常重要”的问题

  2. 作为“表示非零元素数目”的替代函数

$L^\infty$范数

∣∣x∣∣∞=maxi∣xi∣||x||_\infty = max_i|x_i|∣∣x∣∣∞​=maxi​∣xi​∣

意义:表示向量中具有最大幅值的元素的绝对值

Frobenius范数

∣∣A∣∣F=sumi,jAi,j2||A||_F = \sqrt sum_{i,j}A_{i,j}^2∣∣A∣∣F​=s​umi,j​Ai,j2​

类似于向量的$L^2$范数

Previous矩阵Nextorthogonal

Last updated 2 years ago

Was this helpful?