pyanno4rt.tools._sigmoid

Sigmoid function calculation.

Overview

Function

sigmoid(value, multiplier, summand)

Calculate the sigmoid function value.

Functions

pyanno4rt.tools._sigmoid.sigmoid(value, multiplier=1, summand=0)[source]

Calculate the sigmoid function value.

Parameters:
  • value (int, float, tuple or list) – Value(s) at which to calculate the sigmoid function.

  • multiplier (int or float, default=1) – Multiplicative coefficient in the linear term.

  • summand (int or float, default=0) – Additive coefficient in the linear term.

Returns:

Value(s) of the sigmoid function.

Return type:

float or tuple