Sigmoid
Sigmoid
¶
Bases: Term
Edge Term that represents the sigmoid membership function.
Equation
\(\mu(x) = \dfrac{h}{1 + \exp(-s(x-i))}\)
where
- \(h\): height of the Term
- \(s\): slope of the Sigmoid
- \(i\): inflection of the Sigmoid
Attributes¶
Functions¶
__init__
¶
configure
¶
configure(parameters: str) -> None
Configure the term with the parameters.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
parameters |
str
|
|
required |
membership
¶
tsukamoto
¶
Compute the tsukamoto value of the monotonic term for activation degree \(y\).
Equation
\(y=\dfrac{h}{1 + \exp(-s(x-i))}\)
\(x=i\dfrac{\log{\left(\dfrac{h}{y}-1\right)}}{-s}\)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
y |
Scalar
|
activation degree |
required |
Returns:
Type | Description |
---|---|
Scalar
|
\(x=i\dfrac{\log{\left(\dfrac{h}{y}-1\right)}}{-s}\) |