Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
|
Public Member Functions | |
compute ($value) | |
differentiate ($value, $computedvalue) | |
Phpml\NeuralNetwork\ActivationFunction::compute | ( | $value | ) |
Phpml\NeuralNetwork\ActivationFunction::differentiate | ( | $value, | |
$computedvalue ) |
float | int | $value | |
float | int | $computedvalue |
Implemented in Phpml\NeuralNetwork\ActivationFunction\BinaryStep, Phpml\NeuralNetwork\ActivationFunction\Gaussian, Phpml\NeuralNetwork\ActivationFunction\HyperbolicTangent, Phpml\NeuralNetwork\ActivationFunction\PReLU, Phpml\NeuralNetwork\ActivationFunction\Sigmoid, and Phpml\NeuralNetwork\ActivationFunction\ThresholdedReLU.