PHP Class MCordingley\Regression\Predictor\Logistic

Inheritance: implements MCordingley\Regression\Predictor\Predictor
Exibir arquivo Open project: mcordingley/regression Class Usage Examples

Public Methods

Method Description
__construct ( array $coefficients )
predict ( array $features ) : float

Method Details

__construct() public method

public __construct ( array $coefficients )
$coefficients array

predict() public method

public predict ( array $features ) : float
$features array
return float