S型函数

来自testwiki
imported>Mhss2023年9月23日 (六) 06:18的版本
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转到导航 跳转到搜索
S型函數的曲線圖形
S型函數在複數域的分布圖形

S型函数Template:Lang-en,或稱乙狀函數)是一種函数,因其函數圖像形状像字母S得名。其形狀曲線至少有2個焦點,也叫“二焦點曲線函數”。S型函数是有界可微的实函数,在实数范围内均有取值,且导数恒为非负[1],有且只有一个拐点。S型函数和S型曲线指的是同一事物。

逻辑斯谛函数是一种常见的S型函数,其公式如下:[1]

S(t)=11+et.

其级数展开为:

s:=1/2+14t148t3+1480t51780640t7+311451520t9691319334400t11+O(t12)

其他S型函數案例見下。在一些學科領域,特別是人工神经网络中,S型函數通常特指邏輯斯諦函數。

常見的S型函數

一些S型函數的比較,圖中的函數皆以原點斜率為1的方式歸一化。
f(x)=11+ex
f(x)=tanhx=exexex+ex
f(x)=arctanx
f(x)=gd(x)=0x1coshtdt=2arctan(tanh(x2))
f(x)=erf(x)=2π0xet2dt
f(x)=(1+ex)α,α>0
f(x)={0x(1u2)N du01(1u2)N du,|x|1sgn(x)|x|1N1
f(x)=x1+x2

所有連續非負的凸形函數的積分都是S型函數,因此許多常見概率分布累积分布函数會是S型函數。一個常見的例子是误差函数,它是正态分布的累积分布函数。

参考文献

Template:Reflist

  • Template:Cite book. In particular see "Chapter 4: Artificial Neural Networks" (in particular pp. 96–97) where Mitchell uses the word "logistic function" and the "sigmoid function" synonymously – this function he also calls the "squashing function" – and the sigmoid (aka logistic) function is used to compress the outputs of the "neurons" in multi-layer neural nets.
  • Template:Cite web Properties of the sigmoid, including how it can shift along axes and how its domain may be transformed.

参见

Template:Commons category Template:Div col

Template:Div col end

Template:Differentiable computing