PHP Class Phpml\NeuralNetwork\ActivationFunction\Sigmoid

Inheritance: implements Phpml\NeuralNetwork\ActivationFunction
Afficher le fichier Open project: php-ai/php-ml Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( float $beta = 1 )
compute ( float | integer $value ) : float

Method Details

__construct() public méthode

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

compute() public méthode

public compute ( float | integer $value ) : float
$value float | integer
Résultat float