Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Phpml
Metric
ConfusionMatrix
PHP Class Phpml\Metric\ConfusionMatrix
Afficher le fichier
Open project: php-ai/php-ml
Méthodes publiques
Méthode
Description
compute
(
array
$actualLabels
,
array
$predictedLabels
,
array
$labels
= null ) :
array
Private Methods
Méthode
Description
generateMatrixWithZeros
(
array
$labels
) :
array
getUniqueLabels
(
array
$labels
) :
array
Method Details
compute()
public
static
méthode
public
static
compute
(
array
$actualLabels
,
array
$predictedLabels
,
array
$labels
= null ) :
array
$actualLabels
array
$predictedLabels
array
$labels
array
Résultat
array