Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
MCordingley
Regression
Algorithm
GradientDescent
Gradient
Gradient
cost
MCordingley\Regression\Algorithm\GradientDescent\Gradient\Gradient::cost PHP Method
Gradient Interface Documentation
显示文件
Open project: mcordingley/regression
cost()
public
method
public
cost
(
array
$coefficients
,
array
$features
,
float
$outcome
) :
float
$coefficients
array
$features
array
$outcome
float
return
float
public function cost(array $coefficients, array $features, float $outcome) : float;
Gradient
cost
gradient