シグモイド関数
sigmoid function
$ \sigma(x)=\frac{1}{1+e^{-x}}
https://gyazo.com/b95014a0da76b0542c51cd754f501cf6
活性化関数に利用される
code:sigmoid_plot.jl
using Plots
# シグモイド関数の描画
x = range(-10, stop=10, length=100)
y = 1 ./ (1 .+ exp.(-x))
plt = plot(x, y;
line=2,
xlims=(-10,10),
ylims=(0,1),
xlabel="",
ylabel="",
framestyle=:origin,
label="\$y=\\frac{1}{1+e^{-x}}\$"
)