Sigmoid Output Calculator

Map any real number through the sigmoid function and see where it falls relative to the classification threshold.

📐 計算公式 / 原理
σ(z) = 1/(1 + e^(−z));對數機率 logit = ln[p/(1 − p)] = z
Sigmoid 把任意實數壓到 (0,1),輸出可直接當機率用;其導數 σ′=σ(1−σ),在 |z| 較大時趨於 0,是深層網路梯度消失的根源之一,所以隱藏層現多改用 ReLU 系。閾值不必固定 0.5,應按業務代價調整。

📐 計算公式與說明

Sigmoid 分類口徑(與上方 σ(z) 公式互補):σ(z)=1÷(1+e^(−z)),輸出機率;分類按 σ(z) 與閾值比較——σ(z)≥閾值判「正類」、否則「負類」;對數機率=ln[σ÷(1−σ)],與輸入 z 恆等(logit 反變換複核項)。校驗:無強校驗,空值按 0 兜底。判據:閾值為 0.5 時機率過半即判正類,閾值上移則更保守(漏報增多、誤報減少)。

將任意實數對映到 (0,1)。