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
Phpml
Metric
ConfusionMatrix
PHP Class Phpml\Metric\ConfusionMatrix
Exibir arquivo
Open project: php-ai/php-ml
Public Methods
Method
Description
compute
(
array
$actualLabels
,
array
$predictedLabels
,
array
$labels
= null ) :
array
Private Methods
Method
Description
generateMatrixWithZeros
(
array
$labels
) :
array
getUniqueLabels
(
array
$labels
) :
array
Method Details
compute()
public
static
method
public
static
compute
(
array
$actualLabels
,
array
$predictedLabels
,
array
$labels
= null ) :
array
$actualLabels
array
$predictedLabels
array
$labels
array
return
array