✍️
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
  • logistic sigmoid函数
  • softplus函数
  • 径向基函数 Radial Basis Function
  • 欧氏径向基
  • 高斯径向基

Was this helpful?

  1. README
  2. Probability

functions

Previous贝叶斯公式Nextlikelihood

Last updated 2 years ago

Was this helpful?

logistic sigmoid函数

σ(x)=11+exp⁡(−x)\sigma(x) = \frac{1}{1+\exp(-x)}σ(x)=1+exp(−x)1​

意义:

  1. σ(x)∈(0,1)\sigma(x) \in (0, 1)σ(x)∈(0,1)

  2. 通常用来产生Bernoulli分布中的参数ϕ\phiϕ

  3. 当|x|非常大时会饱和,饱和是指σ′(x)\sigma'(x)σ′(x)的变化非常缓慢。

softplus函数

ζ(x)=log⁡(1+exp⁡(x))\zeta(x) = \log(1+\exp(x))ζ(x)=log(1+exp(x))

意义:

  1. ζ(x)∈(0,+∞)\zeta(x) \in (0, +\infty)ζ(x)∈(0,+∞)

  2. 用于产生高斯分布的β\betaβ或σ\sigmaσ参数,β=1σ2\beta = \frac{1}{\sigma^2}β=σ21​

  3. 是x+=max(0,x)x_+ = max(0, x)x+​=max(0,x)函数是平滑形式

有用性质:

径向基函数 Radial Basis Function

将一个点到另一个点的距离映射成一个实值的函数。 这里面有三个未知: (1)另一个点是什么点?默认是原点,也可以是指定点p。 (2)距离是什么距离?一般都使用欧氏距离 (3)对距离做怎样的操作?不同的RBF只要是这一点的不同。

欧氏径向基

距离为欧氏距离:

r(x)=∣∣x∣∣2r(x,p)=∣∣x−p∣∣2\begin{aligned} r(x) = ||x||_2 \\ r(x, p) = ||x-p||_2 \end{aligned}r(x)=∣∣x∣∣2​r(x,p)=∣∣x−p∣∣2​​

操作为线性操作:

ϕ(r)=r\phi(r) = rϕ(r)=r

高斯径向基

距离为欧氏距离 操作为高斯函数:

ϕ(r)=exp⁡(−r22σ2)\phi(r) = \exp(-\frac{r^2}{2\sigma^2})ϕ(r)=exp(−2σ2r2​)