|
Derivative
Compute activation function derivative values and write them to the passed vector/matrix
bool vector::Derivative(
|
Parameters
vect_out/matrix_out
[out] Vector or matrix to get the computed values of the derivative of the activation function.
activation
[in] Activation function from the ENUM_ACTIVATION_FUNCTION enumeration.
axis
[in] ENUM_MATRIX_AXIS enumeration value (AXIS_HORZ — horizontal axis, AXIS_VERT — vertical axis).
...
[in] Additional parameters are the same as that of the activation functions. Only some activation functions accept additional parameters. If no parameters are specified, default values are used.
Return Value
Returns true if successful, otherwise - false.
Note
Function derivatives enable an efficient update of model parameters based on the error received in learning during the error backpropagation.