PHP Class Phpml\NeuralNetwork\ActivationFunction\Sigmoid

Inheritance: implements Phpml\NeuralNetwork\ActivationFunction
Mostrar archivo Open project: php-ai/php-ml Class Usage Examples

Public Methods

Method Description
__construct ( float $beta = 1 )
compute ( float | integer $value ) : float

Method Details

__construct() public method

public __construct ( float $beta = 1 )
$beta float

compute() public method

public compute ( float | integer $value ) : float
$value float | integer
return float