메소드 | 설명 | |
---|---|---|
__construct ( integer $power = 2 ) | ||
cost ( array $coefficients, array $features, float $outcome ) : float | ||
gradient ( array $coefficients, array $features, float $outcome ) : array |
메소드 | 설명 | |
---|---|---|
predicted ( array $coefficients, array $features ) : float |