Method | Description | |
---|---|---|
__construct ( integer $power = 2 ) | ||
cost ( array $coefficients, array $features, float $outcome ) : float | ||
gradient ( array $coefficients, array $features, float $outcome ) : array |
Method | Description | |
---|---|---|
predicted ( array $coefficients, array $features ) : float |