Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
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.