Activated
Activated
¶
Bases: Term
Special term that represents the activation of terms when processing the antecedent of a rule.
Equation
\(\mu(x) = \alpha_a \otimes \mu_a(x)\)
where
- \(\alpha_a\): activation degree of term \(a\)
- \(\otimes\): implication operator
- \(\mu_a\): activated term \(a\)
related
Attributes¶
degree
property
writable
¶
degree: Scalar
Get/Set the activation degree of the term.
Getter¶
Returns:
Type | Description |
---|---|
Scalar
|
activation degree of the term. |
Setter¶
Parameters:
Name | Type | Description | Default |
---|---|---|---|
value |
Scalar
|
activation degree of the term, with replacements of |
required |
Note
replacements of {nan: 0.0, -inf: 0.0, inf: 1.0}
are made to sensibly deal with non-finite activations (eg, NaN
input values)
Functions¶
__init__
¶
__repr__
¶
__repr__() -> str
Return the code to construct the term in Python.
Returns:
Type | Description |
---|---|
str
|
code to construct the term in Python. |