The identity activation function: f(x) = x.
Identical
00 Remarks
This activation function is usually used by the regression model, in which the output of the neuron node should not be transformed.
01 Syntax
Microsoft.VisualBasic.MachineLearning.ComponentModel.Activations.Identical
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| Function | 1 | Returns the input value itself: f(x) = x. |
| ToString | 1 | Display this activation function as a text expression. |
| Derivative | 1 | The derivative of the identity function is the constant 1. |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| Store | 1 | Gets the XML serializable data model of this identity function. |
04 Members
Function(
Double)Returns the input value itself: f(x) = x.
Parameters
| Name | Type | Description |
|---|---|---|
x | Double | The function input value. |
Returns
The x value itself.
ToString
Display this activation function as a text expression.
Returns
The text expression of this identity function.
Derivative(
Double)The derivative of the identity function is the constant 1.
Parameters
| Name | Type | Description |
|---|---|---|
x | Double | The function input value. |
Returns
The constant value 1.
Store
Gets the XML serializable data model of this identity function.
Returns
A ActiveFunction data model which its function name is Identical and no argument is required.