lsapy.standardize.vetharaniam2022_eq3#

lsapy.standardize.vetharaniam2022_eq3(x, a, b)[source]#

Sigmoid like function.

This function is equivalent to the logistic function and thus can be used on both positive and negative values of x, as well as on increasing and decreasing sigmoid-like data.

Parameters:
  • x (any) – Input values.

  • a (float | int) – Steepness of the function parameter.

  • b (float | int) – Value of the function’s midpoint.

Returns:

Output values.

Return type:

ndarray

See also

logistic()

Notes

Alternative name: VTR22_eq3. This function has been implemented to support reproductiblity of the original paper. However, as it is equivalent to the more commonly used logistic function, it is recommended to use the logistic function instead. This function is defined as:

\[f(x) = \frac{e^{a(x - b)}}{1 + e^{a(x - b)}}\]

References

Vetharaniam, Müller, Stanley, van den Dijssel, Timar, and Clothier [2022]