Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
MCordingley
Regression
Algorithm
GradientDescent
Gradient
Gradient
PHP Interface MCordingley\Regression\Algorithm\GradientDescent\Gradient\Gradient
Exibir arquivo
Open project: mcordingley/regression
Public Methods
Method
Description
cost
(
array
$coefficients
,
array
$features
,
float
$outcome
) :
float
gradient
(
array
$coefficients
,
array
$features
,
float
$outcome
) :
array
Method Details
cost()
public
method
public
cost
(
array
$coefficients
,
array
$features
,
float
$outcome
) :
float
$coefficients
array
$features
array
$outcome
float
return
float
gradient()
public
method
public
gradient
(
array
$coefficients
,
array
$features
,
float
$outcome
) :
array
$coefficients
array
$features
array
$outcome
float
return
array