PHP Class MCordingley\Regression\Predictor\Linear

Inheritance: implements MCordingley\Regression\Predictor\Predictor
Afficher le fichier Open project: mcordingley/regression Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( array $coefficients )
predict ( array $features ) : float

Method Details

__construct() public méthode

public __construct ( array $coefficients )
$coefficients array

predict() public méthode

public predict ( array $features ) : float
$features array
Résultat float