A quadratic-linear activation function: f(x) = ln(x ^ 2) when x >= 1, otherwise zero.
QLinear
00 Remarks
The output of this function is flat (zero) on the interval (-inf, 1) and grows logarithmically outside of that interval.
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| Function | 1 | Calculates the function value: ln(x ^ 2) when x >= 1, otherwise 0. |
| ToString | 1 | Display this activation function as a text expression. |
| Derivative | 1 | Calculates the derivative: f'(x) = 1 / (2 * x). |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| Store | 1 | Gets the XML serializable data model of this quadratic-linear function. |
04 Members
Double)Calculates the function value: ln(x ^ 2) when x >= 1, otherwise 0.
| Name | Type | Description |
|---|---|---|
x | Double | The function input value. |
The function output value.
Display this activation function as a text expression.
The text expression of this quadratic-linear function.
Double)Calculates the derivative: f'(x) = 1 / (2 * x).
| Name | Type | Description |
|---|---|---|
x | Double | The function input value. |
The derivative value; a large constant value 10000 will be returned when x is zero, so that the derivative value will never be infinite.
Gets the XML serializable data model of this quadratic-linear function.
A ActiveFunction data model which its function name is QLinear and no argument is required.