Table 4 Types of activation function in ANN models.

From: Water status and plant traits of dry bean assessment using integrated spectral reflectance and RGB image indices with artificial intelligence

Name

Equations

Hyperbolic Tangent (Tanh)

\(\:\text{f}\left(\text{x}\right)=\frac{({\text{e}}^{\text{x}}-{\text{e}}^{-\text{x}})}{({\text{e}}^{\text{x}}+{\text{e}}^{-\text{x}})}\)

Logistic (Sigmoid)

\(\:\text{f}\left(\text{x}\right)=\frac{1}{1+{\text{e}}^{-\text{x}}}\)

Rectified Linear Unit (ReLU)

\(\:\text{f}\left(\text{x}\right)=\text{m}\text{a}\text{x}(0,\:\text{x})\)

Linear (Identify)

\(\:\text{f}\left(\text{x}\right)=\text{x}\)